/BasicSharp

BASIC interpreter in C#

Primary LanguageC#MIT LicenseMIT

BasicSharp

Simple BASIC interpreter written in C#. Language syntax is modernize version of BASIC, see example below.

Example

print "Hello World"

let a = 10
print "Variable a: " + a

let b = 20
print "a+b=" + (a+b)

if a = 10 then
    print "True"
else
    print "False"
endif

for i = 1 to 10
    print i
next i

goto mylabel
print "False"

mylabel:
Print "True"