Page 1 of 1

(IDE) Check syntax.

Posted: Fri Jul 06, 2012 9:00 pm
by User_Russian
It would be cool if the IDE would be able to check syntax without creating an executable file and without launching the program.

Re: (IDE) Check syntax.

Posted: Fri Jul 06, 2012 11:48 pm
by Demivec
User_Russian wrote:It would be cool if the IDE would be able to check syntax without creating an executable file and without launching the program.
It currently can be done by simply placing 'End' at the beginning of the source and then compiling.

Re: (IDE) Check syntax.

Posted: Sat Jul 07, 2012 1:59 am
by MachineCode
Demivec wrote:It currently can be done by simply placing 'End' at the beginning of the source and then compiling.
Nope, that still creates a temp executable.

Re: (IDE) Check syntax.

Posted: Sat Jul 07, 2012 2:32 am
by Demivec
MachineCode wrote:
Demivec wrote:It currently can be done by simply placing 'End' at the beginning of the source and then compiling.
Nope, that still creates a temp executable.
I had neglected looking for a 'temp executable' and appreciate you pointing that out. On the other hand it is temporary and deleted in the process and so I don't see it as much of a drawback for what was requested.

It would be nicer to have the simple syntax check done. Would the syntax checking only involve the way the statements are formed or would include non-declared variables and such?

Re: (IDE) Check syntax.

Posted: Sat Jul 07, 2012 3:18 am
by MachineCode
Depending on the source, such temp executables can take several seconds to build. I assume the original poster just wanted a fast syntax check, without any such slow overhead of exe-building. It's been requested before, anyway.