dogamak / ttk91-rs

Crate for reading, writing, compiling and executing TTK91 code.
0 stars 0 forks source link

Introduce `ttk91run` tool for running programs from the terminal #11

Closed dogamak closed 4 years ago

dogamak commented 4 years ago

The new ttk91run binary takes one .b91 or .k91 file as input, compiles it in case of .k91 files, and executes it. Output device number 0 (or CRT) is piped to the terminal.

dogamak commented 4 years ago

The binaries were moved behind feature gates in 378f200, could have included that in the commit message...

All binaries can be compiled with the feature tools, or enabled individually with features ttk91run and ttk91repl. They are not enabled by default.

dogamak commented 4 years ago

With the merge of feature-stdio-input branch we also have support for input in ttk91run.

dogamak commented 4 years ago

Ready to merge. Resolves issue #2.