Skip to content

amirmehp/VBL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VBL

Warning

This Project is not Completed yet and will not work as intended (at least for now)

Very BASIC Language

This was initially going to be Yet Another BASIC Interpreter but I decided that it would be cooler if it was just a language made by me written in Rust(which I think was a mistake). And I still don't know what I wanna do with it all I know is that I wanna learn:)))) Until now It's only a broken tokenizer:///

Syntax

For now something like BASIC:

Printing

It has to be simpler than the normal BASIC

print <arg>

Input

input <var>
input "prompt" <var>

Goto

goto <label>

Asignment

<varname> = <value>

For loop

for i=0 to 5
	print "Some BASIC Stuff"
next

For Now

  • Reading Files
  • CLI
  • Tokenizer (still needs some work)
  • if statements and newlines
  • Parser (Not even close to done)
  • Evaluator
  • Could interpret a BASIC example

The Future

For now this is a toy interpreter for me to mess around with it and learn but when I have completely made it work I'm going to add more stuff to it to make it actually usable, but I'm going to keep things as minimal as possible because it should be a VeryBASICLanguage;))

About

Very BASIC Language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%