Basic "Compiler"?
Yes!!!
 50%  [ 3 ]
No!!!
 0%  [ 0 ]
Why didn't I think of that?
 0%  [ 0 ]
Meh...
 50%  [ 3 ]
Total Votes : 6

I was thinking of making a program/app that would "compile" BASIC programs, mostly doing simple optimizations, but also doing more useful things like turning gotos into actual jumps, just like JR in asm. Then it can apply a parser hook and intercept a custom token for compiled gotos. This could eliminate the need for people to compile before testing, because the original gotos would work too, but compiled ones would be much faster. I want to see what y'all think, and if anyone would actually use it.
sounds interesting, good luck.
You've heard of BASIC Builder, right? I guess it would be semi usefull, but just improving goto speed and other optimizations is not nearly enough IMHO.

I think this actually might be the best approach to a new language. If you started out with these simple optimizations and than added more and more features into it like faster randomization, different number systems (like allow the user to compute with 1 byte instead of 9 to drastically improve speeds). Adding more and more gradually over time might be the best/easiest way to make a semi-new language similar to BASIC, yet much faster.

So, to sum that up. I think this would be a good starting point, but the end point should be a new language.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement