1. syntax check
- Posted by canadiancoder Sep 01, 2008
- 848 views
- Last edited Sep 02, 2008
Is there a way to just run a syntax check on a euphoria source file as an alternative to running the program with ex?
2. Re: syntax check
- Posted by ne1uno Sep 01, 2008
- 852 views
- Last edited Sep 02, 2008
Is there a way to just run a syntax check on a euphoria source file as an alternative to running the program with ex?
in eu4 there is
exwc -TEST your.ex exwc eu4\source\std.ex your.ex
3. Re: syntax check
- Posted by ghaberek (admin) Sep 02, 2008
- 835 views
You could put all your top-level code into a procedure called main(), then simply not call it.
procedure main() -- do top-level stuff here end procedure -- call main when we're ready, but -- leave it commented out for now: --main()
-Greg
4. Re: syntax check
- Posted by mraley Sep 11, 2008
- 784 views
Is there a way to just run a syntax check on a euphoria source file as an alternative to running the program with ex?
Finally back on the forum!
I built a syntax test only binary from the Euphoria 3.0.2 source some time ago. You just have to comment out a step in execute.e I believe it was in procedure Execute [Eucode] do_exec() [/Eucode] I then bound it into a file called syncheck.exe which I added as a shortcut to my "SEND TO>" right click menu.