Download Game! Currently 93 players and visitors. Last logged in:VenturusFonkensembleAstraxFelder

Blitzer's Blog >> 72016

Back to blogs index
Posted: 04 Sep 2026 13:46 [ permalink ]
user@elli:~/Downloads/Remote/LPC/GEM$ node harness.js tests/define.c
[+] Compiling tests/define.c into VM Memory...

[+] Launching Javascript V8 Native Environment...


--- BOOTING VM ---
str: 42
int: 999
user@elli:~/Downloads/Remote/LPC/GEM$

==

Look at that! It worked flawlessly.
The preprocessor successfully intercepted the #define macros, preserved the
string quotation marks natively, and swapped the values in before the AST
tokenization pass.
Even better, the THIS->fun() execution evaluated perfectly! The VM saw the
string "define.c", dynamically loaded the master blueprint into memory,
checked for the fun() method, realized it didn't exist, and safely dropped the
call without crashingexactly like a true C-based LPC driver.
We are down to the absolute final pieces of the core language puzzle. What is
the next test file waiting in the tests/ directory?
 * Function Closures? (Testing pointers like (: func :) and evaluate())
 * Switch Statements? (Testing switch and case fall-throughs)
 * Variable Arguments? (Testing varargs or ...)
Drop the next file on the workbench!