Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.17 KB

README.org

File metadata and controls

46 lines (31 loc) · 1.17 KB

spoon 🥄

This is a typed interpreter for the Silverware programming language implemented in Erlang. It is using the knife parser combinator library as the parser for the language.

External Dependencies

How to use spoon

To execute the program you do:

nix-shell
rebar3 shell

Next, you need a Silverware file (.sw) with code that you want to evaluate. You can have Emacs support evaluating the file editor/silverware-mode.el There are some samples in the examples folder. In the shell, proceed with:

spoon:main(<PATH_TO_SAMPLE_FILE>).

Here it is an example of output:

Erlang/OTP 24 [erts-12.2] [source] [64-bit] [smp:16:16] [ds:16:16:10] [async-threads:1] [jit]

Eshell V12.2  (abort with ^G)
1> spoon:main("examples/advanced.sw").
SPOON| {literal, {integer, 60}}
ok

Developers

  • EduardoLR10
  • ribeirotomas1904
  • MMagueta

Dr.Nekoma

Built live on twitch and archived on youtube