Where have I been? And what does my new project offer?

1 view
Skip to first unread message

Dan Cook

unread,
May 21, 2009, 1:55:08 PM5/21/09
to Antidisassemblage
Several months ago, I predicted having most things in place within a
few weeks. Instead though, I found myself in a serious relationship
(there went "nothing better to do"), had a lot to work out for school
and moving there, and then discovered that school started a week
SOONER than I thought.

I have not touched SquirrelBox since! Though I DID find a 5-inch
thick book on compiler theory from which I learned a COUPLE new things
(I forget what though; I just internalized them). And I have a
confession: I've already made a LOT of progress coding a NEW
programming language and compiler! I will get back to this one though
because it's quite a piece of work (and all the time and following
that went into it), and it has a LOT of stuff that I put into even
just the GUI aspect of it.

This new language has no GUI whatsoever -- you run it from the command
line with string arguments (so that it can be integrated into
ANYTHING). It's like Antidisassemblage, but with the following
features:
* C++ style pointers and MultiDimensional arrays
* OOP classes with single inheritance (C++ syntax with Java behavior)
* Variables and control-constructs (i.e. loops) can be marked as
interpreted with the pound sign.
* Reference vars of the form dataType& act as stand-ins for other
variables (and are interpreted)
* C++ style operator overloading (no friend functions, but operator
functions have full access)
* Inline functions replace macros and can make interpreted
calculations
* Built in functions for exit() and halt(), and sizeof(), and Java's
instanceof operator
* More data types: void byte word bool char #int #bool #char #string
* Modifiers: public private protected const/final unsigned
* The same Antidisassemblage preprocessor directives
* No function/class prototypes. Everything is defined and
initialized in place.

Dan Cook

unread,
May 21, 2009, 2:02:55 PM5/21/09
to Antidisassemblage
With the exception of interpretted vars and OOP paradigms, and the WAY
that "pass-by-reference" vars actually work, this new language is VERY
close to Antidisassemblage ... in fact I wonder if I should not just
redefine the language to this new suit. That would kinda kill
SquirrelBox; though I suppose that I could later modify SquirrelBox to
use the new compiler to compile.
Reply all
Reply to author
Forward
0 new messages