Skip to content

weakish/ceylon-sexp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S-expression subset as a data-interchange format

Syntax

(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.

  • compatible with JVM and JavaScript backend
  • decode (parsing)
  • #hash (syntax from Racket)
  • remove #T/#F for simplicity (r6s6 does not support them)
  • comment ;
  • bracket (requires matching)
  • encode
  • customized

Doc

https://weakish.github.io/ceylon-sexp/api/

Contribute

Send issues or pull requests at https://github.com/weakish/ceylon-sexp

License

0BSD except for the Builder class (licensed under Apache-2.0). See LICENSE for more information.

About

S-expression subset as a data-interchange format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages