An open API service indexing awesome lists of open source software.

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

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.