Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antoniojimeneznieto/programming-language-interpreter
https://github.com/antoniojimeneznieto/programming-language-interpreter
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/antoniojimeneznieto/programming-language-interpreter
- Owner: antoniojimeneznieto
- Created: 2023-02-22T19:04:18.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-22T20:28:55.000Z (almost 2 years ago)
- Last Synced: 2024-11-29T00:43:05.486Z (about 2 months ago)
- Language: Scala
- Size: 11.6 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Amy Programming Language
You can read more about the project in the /report folder.
We provide you with a reference compiler for the Amy language that you can use to explore the expected behavior of your own compiler.
You can run it as follows:
java -cp amyc-assembly-1.7.jar amyc.Main [options] [input files]To see the list of available options do
java -cp amyc-assembly-1.7.jar amyc.Main --helpThe easiest way to execute a program is to run it in `--interpret` mode. If you want to generate WebAssembly binary code, you should follow these steps:
* Install `nodejs`. We have tested amyc with Node version 12, though other versions might work. See the [Node website](https://nodejs.org/en/) for installation instructions.
* Make sure the `wat2wasm` executable is visible, i.e., it is in the system path or, for Linux or Mac, you are at the toplevel of the `amyc` directory.
* Run `npm install deasync` in the directory you plan to run `amyc`.
* Run `amyc` without options. You will get a few output files.
* Run `nodejs .js`