PLTools / Lama

Teaching language LaMa for a compiler course
GNU General Public License v3.0
70 stars 37 forks source link

Docker Image with Lama. #3

Closed IlyasYOY closed 4 years ago

IlyasYOY commented 4 years ago

Hello, I've built the language in docker, so anyone can just download the image and start using it!

➜  ~ docker run -it ilyasyoy/lama:1.0.0
opam@9dfa13e1da10:~/opam-repository$ cd Lama/tutorial/
opam@9dfa13e1da10:~/opam-repository/Lama/tutorial$ lamac Expressions.lama -o main && ./main 
if, case, for, while, repeat etc. are all expressions.
Case-expression: 3
If-expression: 
Scope-expression: 45
opam@9dfa13e1da10:~/opam-repository/Lama/tutorial$

Here is the page on docker.hub.

I've also posted a Dockerfile here.

You can build it yourself and post it in GitHub packages so it'll be easier to find!

dboulytchev commented 4 years ago

Please make this a PR (not an issue) in README.md to https://github.com/dboulytchev/compiler-2020