Ok then, here's another comment on the comments about comments...
I'm living with the comments as they are now. -- for Jal, ; for assembler. I
don't need another symbol for one-line comments.
What I'm missing is {...} or (*...*) from pascal for multi-line comments. I
have no idea how a compiler works, so I have no idea how difficult this could
be.
Jal has multi-line comments, but they look rather strange...
if false then -- this the start of a comment
*+*+* The compiler never sees this *+*+*
end if -- end comment, actually
In general, what I want is a compiler that produces working, reliable output.
It is me who has to give input that fits. The syntax is there to use it, not to
alter it. Keep it simple, not too much redundancy.
One of the last additions Kyle made (reluctantly) was the addition of float
variables. Has anyone ever used them? I haven't. They're not needed in a
microcontroller. Jal has variables of arbitrary length, you can store
everything as fixed point numbers. The distance to the moon in nanometres? You
will need byte*10 to store that number. The number of atoms in the universe?
byte*35 is enough. You can go to byte*255 on PIC18. I don't need floats.
And I don't need another symbol for one-line comments.
If you do, put this in your compiler script:
cat my_syntax.jal | sed -e 's.//.--.g' >official_syntax.jal
Greets,Kiste
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jallib/1578812937.2458535.1606635661066%40mail.yahoo.com.