top | item 18878759

(no title)

willghatch | 7 years ago

One of my favorite features of Racket[1] is that each file declares its dialect on the top line with `#lang language-name`. Different dialects, such as custom embedded DSLs, can have slight syntax modifications or even their own custom lexer and parser. In the end Racket modules all boil down to a smaller core language and interoperate beautifully.

[1]: https://racket-lang.org

discuss

order

No comments yet.