Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/alexknauth/syntax-macro-lang
- Owner: AlexKnauth
- License: mit
- Created: 2015-09-30T00:56:35.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T22:54:01.000Z (over 2 years ago)
- Last Synced: 2024-10-16T02:55:20.135Z (3 months ago)
- Language: Racket
- Homepage:
- Size: 5.86 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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
```