json: create module
This commit is contained in:
parent
2775429bf3
commit
6be2b5372e
3 changed files with 17 additions and 0 deletions
|
@ -72,6 +72,10 @@ solution.
|
||||||
|
|
||||||
Parsers for numerical values in multiple bases
|
Parsers for numerical values in multiple bases
|
||||||
|
|
||||||
|
- [JSON](src/Parser/JSON.md)
|
||||||
|
|
||||||
|
JSON Parser
|
||||||
|
|
||||||
## Index of years and days
|
## Index of years and days
|
||||||
|
|
||||||
- 2015
|
- 2015
|
||||||
|
|
|
@ -33,6 +33,7 @@ modules = Runner
|
||||||
, Parser
|
, Parser
|
||||||
, Parser.Interface
|
, Parser.Interface
|
||||||
, Parser.Numbers
|
, Parser.Numbers
|
||||||
|
, Parser.JSON
|
||||||
|
|
||||||
-- main file (i.e. file to load at REPL)
|
-- main file (i.e. file to load at REPL)
|
||||||
main = Main
|
main = Main
|
||||||
|
|
12
src/Parser/JSON.md
Normal file
12
src/Parser/JSON.md
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
# JSON Parser
|
||||||
|
|
||||||
|
```idris
|
||||||
|
module Parser.JSON
|
||||||
|
|
||||||
|
import public Parser
|
||||||
|
import public Parser.Numbers
|
||||||
|
```
|
||||||
|
|
||||||
|
<!-- idris
|
||||||
|
import System
|
||||||
|
-->
|
Loading…
Add table
Reference in a new issue