From 7c36dd1dcf499bd5bfa1c6911594db5e522a0180 Mon Sep 17 00:00:00 2001 From: Rodrigo Raya <rodrigo.raya@epfl.ch> Date: Wed, 22 Sep 2021 18:40:29 +0000 Subject: [PATCH] Update amy_reference_compiler.md --- labs/amy_reference_compiler.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/labs/amy_reference_compiler.md b/labs/amy_reference_compiler.md index 66beedb..ed3a0c4 100644 --- a/labs/amy_reference_compiler.md +++ b/labs/amy_reference_compiler.md @@ -5,13 +5,13 @@ We provide you with a reference compiler for the Amy language that you can use t The reference compiler is [available here](https://gitlab.epfl.ch/lara/cs320/-/blob/main/labs/amyc-assembly-1.7.jar). You can run it as follows: - java -cp amyc_2.12-1.7.jar amyc.Main [options] [input files] + java -cp amyc-assembly-1.7.jar amyc.Main [options] [input files] To see the list of available options do - java -cp amyc_2.12-1.7.jar amyc.Main --help + java -cp amyc-assembly-1.7.jar amyc.Main --help The 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 [[https://nodejs.org/en/|Node website]] for installation instructions. + * 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. -- GitLab