Skip to content

A typed-checked interpreter for the Silverware programming language written in Erlang

License

Notifications You must be signed in to change notification settings

Dr-Nekoma/spoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A typed-checked interpreter for the Silverware programming language written in Erlang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •