Skip to content

TheShoutingParrot/anbl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANBL - A New Basic (programming) Language

A New Basic (programming) Language is a very simplistic programming language intended to be used for learning how basic programming works and/or learning how a basic interpreter works.

This ANBL interpreter is the first one and is written in Go.

MORE DOCUMENTATION COMING SOON

Examples

Example usage without a .anbl file

Building and running a simple program by writing it in standard input:

$ go build
$ ./interpreter
>>> 1 RESERVE VAR AS NUMBER
>>> 2 VAR IS 9
>>> 3 PRINTNUM VAR
>>> 5 IF NOT EQUALS VAR 0 JUMP 3
>>> 4 DECREMENT VAR
>>> 6 END
>>> RUN
987654321>>>

By typing EXIT you exit the program.

RUNANDEXIT will first run the inputed program and afterwards exit.

About

A New Basic Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages