(IDE) Check syntax.
-
- Addict
- Posts: 1520
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
(IDE) Check syntax.
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.
It currently can be done by simply placing 'End' at the beginning of the source and then compiling.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.
-
- Addict
- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: (IDE) Check syntax.
Nope, that still creates a temp executable.Demivec wrote:It currently can be done by simply placing 'End' at the beginning of the source and then compiling.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!
Re: (IDE) Check syntax.
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.MachineCode wrote:Nope, that still creates a temp executable.Demivec wrote:It currently can be done by simply placing 'End' at the beginning of the source and then compiling.
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?
-
- Addict
- Posts: 1482
- Joined: Tue Feb 22, 2011 1:16 pm
Re: (IDE) Check syntax.
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.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
PureBasic: Born in 1998 and still going strong to this very day!