Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Latest commit

 

History

History
31 lines (23 loc) · 566 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 566 Bytes

bh-basic

A primitive BASIC-interpreter implemented in C# for fun. The supported BASIC dialect is the one described by Brian Harvey in one of his Logo books (without the colons that enable compound commands):

https://people.eecs.berkeley.edu/%7Ebh/pdf/v2ch06.pdf

Usage

dotnet run --project Interpreter -- SOURCEFILE

Some example programs can be found in the Samples directory, e.g.

$ dotnet run --project Interpreter -- Samples\fib.txt
0
1
1
2
3
5
8
13
21
...

License

Public domain: http://creativecommons.org/publicdomain/zero/1.0/