Beta v0.0.1
Pre-release
Pre-release
Basic implementation of the language
This is a fairly comprehensive implementation of holyc as it stands. The assembly is not optimised and the resulting code is thus not terribly fast to execute. I have not benchmarked it as the focus has not yet been on performance
Know bugs
%f
formatter does not work forStrPrint
.- Cannot declare global variables with commas.
inline
does nothing.- Alignment of classes are dodgy as is the intrinsic class.
#defines
are not just pasting text but evaluated at compile time.- Line number in error messages is sometimes off and does not report the file.
- Varadic arguments:
(...)
are all passed on the stack. - Mixing integer sizes like
I32
andI64
can lead to a segfault. - Doing
&ptr->prop->value
in circumstances I don't fully understand yet can lead to a segfault.
Yet to be implemented
#exe
,#assert
- calling printf like
"", "hello", " world"
should concatinate the string and print tostdout
and the same with characters. - declaring an array of classes