Commit graph

2500 commits

Author SHA1 Message Date
Fardale
6b52ec6945 feat(CCList): update with regards to partition_map
- Add partition_filter_map
- Deprecate partition_map
- Add partition_map_either that match the partition_map from the std
2021-02-25 17:31:15 +01:00
Simon Cruanes
30121b8d2c
Merge pull request #358 from copy/master
Fix integer overflow warning on jsoo (#346)
2021-02-22 20:56:41 -05:00
Fabian
dcf1b4aa6c Fix integer overflow warning on jsoo (#346)
- Remove popcount from shims
- Express large integer literals using bitshifts
2021-02-21 15:53:54 -05:00
Simon Cruanes
b5ecb273ef feat: add CCList.cons'
close #354
2021-02-12 14:35:29 -05:00
Simon Cruanes
2f7366be59
Merge pull request #351 from darrenldl/add-fuzz-helper-scripts
Small upgrade to fuzzing suite scripts
2021-02-12 10:54:54 -05:00
Simon Cruanes
01f70cc802 update code and comments 2021-02-07 13:03:53 -05:00
Arnaud Spiwack
85decd732c
CCMap: implement {of,add}_*_with family of function with update (#352)
This is comparable in conciseness and clarity as an explicit try/with
but it paves the way for a more efficient implementation using the
`update` from the Stdlib which, I presume, uses a one-pass algorithm.
2021-02-07 13:03:33 -05:00
Simon Cruanes
3bee276028 try to fix stupid CI 2021-02-06 12:22:20 -05:00
Simon Cruanes
0ef515f1af feat: add CCHashtbl.{of,add}_{list,seq,iter}_with 2021-02-06 12:16:03 -05:00
Simon Cruanes
51bb9175f3 add CCMap.of_{list,iter,seq}_with functions 2021-02-06 11:50:41 -05:00
Fardale
c4aabbf699 doc: fix doc in CCParse 2021-02-05 15:25:25 +01:00
Darren Ldl
d276208c81 Updated fuzz/run.sh with an upgraded version 2021-02-05 15:29:06 +11:00
Darren Ldl
8efa095a11 Updated .gitignore to ignore fuzz-logs/ 2021-02-05 15:28:45 +11:00
Darren Ldl
5de909a534 Copied fuzzing helper scripts over 2021-02-05 15:20:55 +11:00
Simon Cruanes
447df826f1 move canonical sexps into their own module 2021-02-02 23:02:54 -05:00
Simon Cruanes
176b2e5ff2 cleanup of makefile 2021-02-02 22:48:16 -05:00
Simon Cruanes
427c15e472 add fuzzing for csexp 2021-02-02 22:48:08 -05:00
Simon Cruanes
b2b1d2b5fa feat(ccsexp): printer and parser for canonical S-exprs 2021-02-02 22:16:15 -05:00
Simon Cruanes
0097fd3c3d prepare for 3.2 2021-02-01 10:40:28 -05:00
Fardale
f313361df7 try to fix CI for gh-pages 2021-01-26 12:03:12 +01:00
Fardale
5520735a77 fix: enable jekyll on gh-pages 2021-01-26 11:55:50 +01:00
Fardale
179d19e444 fix(CI): correct the name of the main branch 2021-01-26 11:43:07 +01:00
Fardale
b34c3fe75a try to enable auto deploy of doc 2021-01-26 11:41:44 +01:00
Fardale
d9df726ca0 clean: remove stuff specific for ocaml < 4.03 2021-01-26 11:27:50 +01:00
Simon Cruanes
3068aacc84
Merge pull request #349 from c-cube/cceither
feat: add CCEither module
2021-01-25 14:02:07 -05:00
Fardale
23bcc8887c feat: add CCEither module 2021-01-25 19:52:16 +01:00
Fardale
124a808b54 chore(CI): test core on non ubuntu platform 2021-01-25 19:44:00 +01:00
Fardale
a6318949f6 chore(CI): run test only on Ubuntu 2021-01-25 18:51:11 +01:00
Fardale
663416b350 fix: change container.data to container-data in README.md 2021-01-25 18:04:28 +01:00
JPR
383baf4464 Syncing comments 2021-01-25 15:57:03 +01:00
Simon Cruanes
ae886c2f08 add CCList.chunks 2021-01-24 11:18:53 -05:00
Simon Cruanes
e037ca1afa doc: fix a link in the readme
close #347
2021-01-22 11:08:28 -05:00
Simon Cruanes
5f7b03d83b doc: refresh readme 2021-01-12 12:32:45 -05:00
Simon Cruanes
646ea1645c doc: update readme 2021-01-12 11:53:52 -05:00
Simon Cruanes
f9e9c39c37 feat: add iter/seq functions to CCString 2021-01-12 11:53:37 -05:00
Simon Cruanes
fc57765c31 fix(ccint): pick popcount at runtime on 64 bits
(we can compile on 64 bits, at least for bytecode, and execute
on 32 bits native or jsoo's 32 bits; therefore we need to pick the
implementation at runtime).
2020-12-28 17:13:02 -05:00
Simon Cruanes
858dee7279 fix: in shims, use configurator properly to determine int size
close #346
2020-12-27 22:44:20 -05:00
Simon Cruanes
bb8a9d02d7 chore: try to optimize CI a bit further 2020-12-22 10:45:43 -05:00
Simon Cruanes
fb4891dac3 yoloize the github CI cache 2020-12-22 10:45:43 -05:00
Simon Cruanes
12ac1de588 be nicer to mac OS' lazy scheduler in tests 2020-12-22 10:45:43 -05:00
Simon Cruanes
330e026d0a try to enable cache in CI 2020-12-22 10:45:43 -05:00
Kye W. Shi
fd1a43497d
CCImmutArray: add tests (#344)
CCImmutArray: add tests
2020-12-16 23:39:46 -05:00
Kye Shi
78681736cd CCFormat: add @since tags for space/append/etc. 2020-12-14 13:36:35 -05:00
Kye W. Shi
82781aa9c7 CCFormat: List.iter instead of fold_left for append_l (more efficient)
Co-authored-by: Simon Cruanes <simon.cruanes.2007@m4x.org>
2020-12-14 13:36:35 -05:00
Kye Shi
d0b05fdb76 CCFormat: add append, append_l, infix ++ for sequencing 2020-12-14 13:36:35 -05:00
Kye Shi
b1643cfbd5 CCFormat: add space, break, cut aliases 2020-12-14 13:36:35 -05:00
Kye Shi
d5f2c6b861 CCList: add reduce function (resolves #305) 2020-12-13 17:15:43 -05:00
Simon Cruanes
4b68dc204a chore: activate CI on PRs 2020-12-13 17:14:28 -05:00
Darren
c8d0c60657
Init files for fuzzing (#339)
* Init files for fuzzing
* Fixed fuzz/run.sh
* Added fuzzing for CCUtf8_string.uchar_to_bytes
2020-12-09 16:10:02 -05:00
Simon Cruanes
fcd1247ec8 test: add stronger test to compare with uutf in ccutf8string 2020-12-07 23:42:31 -05:00