JoshCheek / sharks

The shark programming language
2 stars 0 forks source link

Interpreter #1

Open pstch opened 7 years ago

pstch commented 7 years ago

How should these programs be interpreted ? I found no instructions, compiler, or interpreter, here or on the Internet.

Thanks for your interesting work ;)

JoshCheek commented 7 years ago

Hi :)

The executable is in the death_from_below directory, you can run it against the .sharks files in the examples directory. If you give it a Ruby file, it will translate the code to the .sharks language. Eg:

$ death_from_below/sharks! example_sources/hw.sharks
hello world! ~~~~^~~~~

(it's a shark fin in water)