Re: Precompiled include files
- Posted by _tom (admin) Jul 11, 2013
- 1566 views
Trying to understand how things work now:
- I write a program, say test.ex
- eushroud test.ex produces test.il
- eub test.il executes the "shrouded" file
The advantage of an .il file is that no parsing of source-code is needed and unused code is excluded; the result is faster startup compared to using eui test.ex .
The "current shrouding" is not the same as "historical shrouding." For example, a code number was used to make extra lines workable in the "old free" Euphoria interpreter.
It looks like Python lets you "compile" .py scripts into .pyc (which may be analogous to Euphoria .il code). (Python does not provide a real compiler like euc.) Python .pyc files skip parsing but do not improve program speed.
How practical would it be for eui to read .il files (say from a library) with the idea that some parsing time is saved?