Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,992 of 2,753    |
|    Steven Shaw to All    |
|    Re: Intermediate forms (again?): worthwh    |
|    19 Jan 11 02:57:36    |
      From: steshaw@gmail.com              I'd like to second cr88192. i.e. either write a simple interpreter - probably       an AST evaluator since you're not concerned about performance - or compile to       C. Another option is to compile to another HLL. C is kinda high-level but       other choices might be JavaScript (works in browsers and nodejs etc), Java or       C#. If you stay high-level enough, you might be able to compile to something       C-ish and only have small differences to your generator to get Cish->JS,       Cish->Java, Cish->C# etc.              If you want to be close to the metal, as John said, there's LLVM. The new       front-runner.              Another option at some point may be HLVM - a abstraction layer on LLVM as I       understand it. It's currently in early stages and it's primary author seemed       to have dropped it until some recent activity.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca