I write programs in a language called LInden Scripting language (LSL), that<br>
runs on Second Life.<br>
Their program development environment consisted of a simple text editor and<br>
the save command.<br>
If one makes an error it is only found at save time, and them it only finds<br>
a single error. Obviously this makes it<br>
time consuming to develop complex programs.<br>
<br>
Some one created a very fancy Eclipse plugin for LSL, called LslPlus.<br>
Unfortunately this project seems to have died.<br>
The plugin available from sourceforge is written in Haskell and Java.<br>
Trying to update it I get into a huge prerequisite<br>
list. Eg, to compile module A, requires library component x1 version > 1.0<br>
and < 1.5. So when I try to compile<br>
that x1 component I get another grumble. After chasing down six or seven<br>
arrrg. To top it off these things are<br>
written in Haskell.<br>
<br>
<br>
So finally my question. Can one of the compilers generated by a<br>
compiler-compiler detect multiple syntax errors<br>
in one shot? I don't really want it to generate any executable code, just<br>
want it to know about all the built in<br>
functions, their arguments and the language syntax which is some what<br>
similiar to C with do, for and if constructs<br>
etc... It also contains some strange data types as follows.<br>
vector VectorVariable = <1.2, 3.4, 5.6>;<br>
and<br>
rotation RotationVariable = <1.2, 3.4, 5.6, 6.7>;<br>
and<br>
list ListVariable = ["list text",2.3,<1.2,3.4,5.6>];<br>
<br>
<br>
other examples:<br>
if ( a == b ) { a += 1; }<br>
// this is a comment<br>
for (i=0;i<n;i++) {<br>
//blah<br>
}<br>
<br>
on_rez(integer int) {<br>
// do something cool<br>
i++;<br>
llOwnerSay("Entered \"on_rez()\"");<br>
}<br>
<br>
So compiler compiler to syntax check all in one shot???<br>
<br>
---<br>
Vince