A Small example of Using Glove - QBE IR for gleam
Clone the repo and run:
gleam run # Run the project
- Copy the code and paste it into a new file (let's say: file.ssa)
- Compile the file using qbe(you must have qbe installed):
qbe -o out.s file.ssa && cc out.s
- Run:
./a.out
- You must see: Hello world in your terminal.