-
Notifications
You must be signed in to change notification settings - Fork 0
/
json-lib.mlb
45 lines (36 loc) · 874 Bytes
/
json-lib.mlb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
(* json-lib.mlb
*
* COPYRIGHT (c) 2008 The Fellowship of SML/NJ (http://www.smlnj.org)
* All rights reserved.
*
* An MLB file for the JSON library, so that it can be used by MLton programs.
*
* TODO:
* This is not complete, since MLton does not have the ml-lpt-lib yet.
*)
local
$(SML_LIB)/basis/basis.mlb
$(SML_LIB)/smlnj-lib/Util/smlnj-lib.mlb
$(MLLPT_LIB)/ml-lpt-lib.mlb
ann
"nonexhaustiveMatch warn" "redundantMatch warn"
"sequenceNonUnit ignore"
"warnUnused false" "forceUsed"
in
json-tokens.sml
json.lex.sml
json.sml
json-stream-parser.sml
json-parser.sml
json-stream-printer.sml
json-printer.sml
end
in
(* DOM-style API (tree based) *)
structure JSON
structure JSONParser
structure JSONPrinter
(* SAX-style API (event based) *)
structure JSONStreamParser
structure JSONStreamPrinter
end