Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasonsbarr/wanda
Programming language for a tutorial series on building a compiler
https://github.com/jasonsbarr/wanda
Last synced: 3 days ago
JSON representation
Programming language for a tutorial series on building a compiler
- Host: GitHub
- URL: https://github.com/jasonsbarr/wanda
- Owner: jasonsbarr
- Created: 2023-05-13T03:24:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-31T19:31:45.000Z (7 months ago)
- Last Synced: 2024-06-01T20:22:16.305Z (7 months ago)
- Language: JavaScript
- Size: 3.2 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wanda Programming Language
Programming language for [a tutorial series on building a compiler](https://dev.to/jasonsbarr/how-to-create-your-own-programming-language-2642).
Yes, the language is named after Wanda Maximoff from Marvel comics and the MCU.
## The Language
Wanda is a simple language that compiles to JavaScript. It shares much with the semantics of JavaScript, including eager evaluation, first class functions that are closures, and prototypal objects with class syntax as a wrapper around the prototypal system.
It uses s-expressions for syntax like the Lisp family of languages, and some features are similar to Clojure. I've also borrowed some features from Racket.