https://github.com/breuleux/teacup
Short implementation of a simple programming language.
https://github.com/breuleux/teacup
Last synced: about 1 month ago
JSON representation
Short implementation of a simple programming language.
- Host: GitHub
- URL: https://github.com/breuleux/teacup
- Owner: breuleux
- Created: 2016-07-04T02:57:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-04T23:15:45.000Z (almost 9 years ago)
- Last Synced: 2025-04-14T20:09:25.852Z (about 1 month ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Teacup
======This is the companion repository to [this article](http://breuleux.net/blog/teacup.html).
The same code is used in [this JSFiddle](https://jsfiddle.net/qh3bvqjh/).
* `core.js` contains the core functionality to define a language.
* `teacup.js` contains the definition of the Teacup language.
* `demo.js` and `index.html` define what's needed for the demo.Usage
-----Just open `index.html` in Chrome or Firefox.