Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/alexknauth/syntax-macro-lang

experimental racket module language for creating languages
https://github.com/alexknauth/syntax-macro-lang

Last synced: about 1 month ago
JSON representation

experimental racket module language for creating languages

Awesome Lists containing this project

README

        

syntax-macro-lang
===
An experimental racket module language for creating languages, inspired by
[jackfirth/racket-syntax-lang](https://github.com/jackfirth/racket-syntax-lang).

Example language for wrapping the body in the `#%app` macro:
```racket
;; path/to/the-lang.rkt
#lang s-exp syntax/macro-lang path/to/the-lang #%app
(provide #%datum add1)
```
And a file using that language:
```racket
#lang path/to/the-lang
add1 0
```