Commit graph

23 commits

Author SHA1 Message Date
Simon Cruanes
b1b5d31665 breaking: move CCSexp into the core library, delete containers.sexp 2020-04-24 19:13:54 -04:00
Simon Cruanes
d34b7588b0 test: another test 2020-03-29 21:50:39 -04:00
juloo
203723d350 CCSexp: Escape empty atoms
Otherwise (`List [ `Atom "" ]) would be formatted as "()", which is (`List []).
2020-03-29 20:48:56 -05:00
Simon Cruanes
1b5b23a8f1 remove unlabel, remove all traces of Result 2019-12-10 20:48:38 -06:00
Simon Cruanes
0ef454c6dc feat(sexp): expose parse_string_list and the list decoder 2019-12-10 15:50:18 -06:00
Simon Cruanes
c2f8d6811b fix(sexp): set location properly when parsing a file 2019-12-06 20:21:46 -06:00
Simon Cruanes
825e350da0 feat(sexp): reexport atom/list cstors 2019-12-05 15:19:38 -06:00
Simon Cruanes
968a39b6bc fix: restore CCSexp.atom which was lost in 2.7 2019-11-13 15:30:11 -06:00
Simon Cruanes
7cefde490b prepare for 2.7
remove mdx
2019-11-12 08:49:33 -06:00
Simon Cruanes
853c9f27bd refactor: reuse a bit of code 2019-11-05 19:43:37 -06:00
Simon Cruanes
404e35f850 feat(sexp): provide ability to annotate parsed S-exprs with their position 2019-11-05 19:41:44 -06:00
Simon Cruanes
d6f98032c8 feat(sexp): functorize the parser/printer 2019-11-05 19:24:28 -06:00
Simon Cruanes
2b6d9126c1 feat(ccsexp): support #; for commenting a sexp 2019-11-05 19:02:40 -06:00
Simon Cruanes
96ed8a37ab feat: introduce shim modules for 4.08 compat
- also make `unlabel` an explicit operation
- use `Stdlib` instead of `Pervasives`
- remove some warnings in Format
2019-06-14 18:26:14 -05:00
Jacques-Pascal Deplaix
9622f6f6ff Avoid uses of the polymorphic operators 2018-01-14 23:32:13 +00:00
Jacques-Pascal Deplaix
6d2063ded4 Internally shadow polymorphic operators and functions from Pervasives 2018-01-14 23:32:13 +00:00
Simon Cruanes
03fd42e67d reindentation 2017-01-25 00:08:12 +01:00
Simon Cruanes
610990e945 fix behavior of CCSexp
- allow "\123" escape codes
- allow "\b" escape codes
2016-11-03 20:45:47 +01:00
Simon Cruanes
941d74968e remove CCSexpM, use ocamllex for a much simpler CCSexp 2016-11-03 17:44:35 +01:00
Fourchaux
44387de784 Correction typos (fichiers src) 2015-11-08 22:27:59 +01:00
Simon Cruanes
b31bd70501 CCSexp now splitted into CCSexp (manipulating expressions) and CCSexpStream 2014-12-18 19:26:24 +01:00
Simon Cruanes
e7cd24b903 updated doc 2014-12-16 23:58:31 +01:00
Simon Cruanes
61465fa19a remove cgi/; move sub-libraries to their own subdir each; mv everything into src/ 2014-12-16 23:41:59 +01:00
Renamed from core/CCSexp.ml (Browse further)