Re: .il code/file questions
- Posted by Derek Parnell <ddparnell at bigpond.com> Nov 17, 2004
- 665 views
Andy Serpa wrote: > > Questions: > > 1) Can I create (unshrouded) .il files that will run with backend.exe by using > the > .il producing code in the PD source? > > 2) Can I translate .il files? > > 3) Why not release the Eu source for the translator? > > What I really want to know is if I hack the Eu front-end, is there a way to > use this > new front-end as usual with the rest of the Euphoria tools? (i.e. > translating, or > at least binding) Obviously I can register the interpreter source and create > a modified > interpreter. It seems natural that since the translator uses the same > front-end now > that I would also be able to create a modified translator so that I can do all > the > things I can usually do, but with a customized version of Eu. > > Because what would really be desirable is to be able to develop programs in my > modified > (front-end hacked) version of Euphoria and then be able to distribute an > executable of > that program, preferably translated, or at least bound. In other words, I > have no interest > in creating & distributing a modified version of Euphoria, but in creating a > modified > version of Euphoria for myself that I can develop programs with. However, if > there is > no way to distribute such developed programs (as executables), then the worth > of the whole > thing is much less, at least for me. > > Possible? Allowed? I'm the same here, Robert. I also wish to create IL files that the RDS backend can run, but I wish to do it without using the RDS front end. This is the crux of most issues with Euphoria. That is, we have changes we'd like to see in the syntax of Euphoria, but still use the base concepts that are implemented in the IL interpreter. I have no wish to complete with RDS Euphoria but I would like to use a 'better' syntax for my executables. So I would like to develop some languages that emit IL that RDS's back end can execute. If we could do something like ... mylang hello.djp -o hello.il -l hello.lst bind hello.il hello.exe So in essence the RDS binder can also read IL files, and works like a link editor to form an executable. The format of an IL file will have to be standardized, but that is not such a big issue that destroys this idea. -- Derek Parnell Melbourne, Australia