5 ms·
Quite interesting concept, but I looked through the code repository and didn't find any code generation at all. Only a parser. I think it may be very "alpha".
by ramchip 17y ago
Quite interesting concept, but I looked through the code repository and didn't find any code generation at all. Only a parser. I think it may be very "alpha".
- deleted 17y ago[deleted]
- axman6 17y agoAlpha implies that there's something that somewhat works. I wouldn't consider just parsing something as working, myself.
- ramchip 17y agoThat was the joke :)
- ultimus 17y agoTrue, it's not alpha yet. But a lot of the semantic processing is being put into the grammar since in ANI, once a program is grammatically sound, it's just left-to-right type validation and dumping out boilerplate assembly for the equivalent of a type-safe stack machine. So even as it stands, the compiler is doing a nearly complete job of rejecting invalid programs, which really is the bulk of the work in compiling ANI.