Re: [Hecl-devel] Hecl compiled to Java (not bytecode)?
Brought to you by:
davidw
From: David W. <da...@de...> - 2009-02-18 14:52:43
|
>> > The trade of: no eval. >> >> Exactly - for some people, that's a dealbreaker, as the whole point of >> including a scripting language is runtime evaluation of code. For >> others, they'd just be happy to write their apps in something other >> than Java, and would be pretty happy. > > Actually, a script compiled with TJC does allows 'eval', it just passes that off to the Jacl > interpreter for evalulation. Similarly, not all commands are compiled to Java, many > use the interpreter at runtime. So yes, a TJC compiled script always includes the > Jacl interpreter, and requires it for runtime. Aha - thanks for clarifying that. So, yeah, for smaller systems, that's a fairly large bunch of code to drag along. I wonder if it could be hacked, though, to take Hecl as input and include the Hecl interpreter, which is a lot smaller. Probably not a weekend project... but potentially an interesting one. -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from: Vomp 7 Austria. |