Topic List | Page List: 1 |
---|---|
Topic | I wrote a C++ interpreter |
Yellow 07/04/17 5:07:17 PM #9: | Magus 10 posted... Yellow posted...Also in my language, you don't declare anything and everything is a double, even arrays, which don't have any real limit (assuming you don't actually use all of the space). Good enough for my needs really. Well, it's a basic C interpreter that loosely follows the rules of C. There are a couple differences. The semicolon in "if (); {}" isn't supposed to be there, but that's a little compiler trick I think. If () counts as its own command and ignores the scope, it just knows that it should skip the next scope. There are also no functions or dependencies, so it's like a barebones language based off C++. --- ... Copied to Clipboard! |
Topic List | Page List: 1 |