Re: include files routines, constants...
- Posted by "Cuny, David at DSS" <David.Cuny at DSS.CA.GOV> Jul 21, 2000
- 412 views
=A9koda wrote: > anybody knows if such program exists which anlyzes=20 > euphoria file and all its includes files and puts=20 > all routines, constants... which are used by this=20 > program/source in one file? Yes; take a look at FIX, which is included with Win32Lib. It basically = akin to RDS's shroud, only when it mangles a routine's name, it makes sure = that the string in routine_id() is also renamed. The reason that the code is relatively small is that it doesn't really = pay much attention to syntax - it's goal in life is to replace non-keywords = with new names. if you added stuff to keep track of the state (based on the preceeding word), you could keep track of what was a routine, a = constant, etc. There's also EU, a Euphoria interpreter written in Euphoria. It's a = complete parser, a lot more sophisticated than FIX. -- David Cuny