https://github.com/weakish/ceylon-sexp
S-expression subset as a data-interchange format
https://github.com/weakish/ceylon-sexp
0bsd ceylon parser sexp
Last synced: 3 months ago
JSON representation
S-expression subset as a data-interchange format
- Host: GitHub
- URL: https://github.com/weakish/ceylon-sexp
- Owner: weakish
- License: other
- Created: 2017-07-21T13:09:15.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-21T14:07:44.000Z (almost 9 years ago)
- Last Synced: 2025-03-02T05:28:38.232Z (over 1 year ago)
- Topics: 0bsd, ceylon, parser, sexp
- Language: Ceylon
- Homepage: https://weakish.github.io/ceylon-sexp/
- Size: 96.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
S-expression subset as a data-interchange format
================================================
Syntax
------
```lisp
(value
(#t #f
string number
(object
(#hash()
#hash(pairs)))
(array
(()
(values))))
(pair
(string . value))
(pairs
(pair
(pair values)))
(values
(value
(value values)))
```
Features
--------
Currently there is a demo implementation in Ceylon.
- [x] compatible with JVM and JavaScript backend
- [x] decode (parsing)
- [x] `#hash` (syntax from Racket)
- [ ] remove `#T`/`#F` for simplicity (r6s6 does not support them)
- [ ] comment `;`
- [ ] bracket (requires matching)
- [ ] encode
- [ ] customized
Doc
---
Contribute
----------
Send issues or pull requests at
License
-------
0BSD except for the Builder class (licensed under Apache-2.0).
See LICENSE for more information.