my_basic icon indicating copy to clipboard operation
my_basic copied to clipboard

A lightweight BASIC interpreter written in standard C in dual files. Aims to be embeddable, extendable and portable.

Results 29 my_basic issues
Sort by recently updated
recently updated
newest added

Thanks for this!! I'll recommend this to all my friends thanks

Something like: a=dict() a(1)=dict() a(1)(1)="test" In Lua or Python it is possible. Is it possible in my_basic? The above syntax doesn't work (I know it can be done with GET...

So I was writing some bindings to control Arduino functions with this, and thought it would be really cool if you could do something suspending a running interpreter, evaluating a...

enhancement
question

Using `afl-fuzz` I managed to generate input that crashes or hangs the interpreter. The zip file contains two directories, hangs/ and crashes/ containing the cases that make it hang or...

bug

I experimented with lists of object instances: ``` ' Define an object class class Object var myadjective = "UNINITIALIZED" def Describe(s) myadjective = s enddef def Write() print "I'm an...

bug

When a var is defined as a dict() in a class, printing a value from it can print the variable type followed by an error. Here's some sample code: ```basic...

bug

Just ran across this: ` d = dict() d("b") = "2""a" d("b") = "2") d("b") = "2"> d("b") = "2": d("b") = "2"- d("b") = "2"/ a = "2""a" a$...

enhancement

Script: ``` STARTHERE = 274148111 ENDHERE = STARTHERE+100 PRINT STARTHERE,"->",ENDHERE; FOR Z = STARTHERE TO ENDHERE PRINT Z; NEXT Z ``` Execution: ``` 274148111->274148192

I new to github so excuse me if this is not the correct way to communicate about this project. I'm also trying to learn c/c++. I'm not a fan of...

The following program: ```basic a=1 do a=a+a b=a+1 until a=b print "a = ",a; c=1 more: c=c+c d=c+1 if cd then goto more print "c = ",c; ``` results in:...