Language docs or specification

23 views
Skip to first unread message

Steve

unread,
Jul 3, 2012, 1:11:54 PM7/3/12
to loop...@googlegroups.com
Hi
 
I recently came across SciTE which seems to be any easy editor to configure.
I would like to try to create the necessary properties and api files for the loop language.
 
I would need a list of keywords, built-in functions etc and something equivalent of a java-doc specifying functions and their parameters, or a language specification.
 
Is there any such documentation available, or would I have to extract that knowledge from the source files?
Maybe you could point me in the right direction?
 
Thanks.
Steve.
 
P.S. Loop seems a great language to teach programming. I have hardly seen a language less cluttered, yet with a logical, consistan,t well readable syntax.
One thing I stumbled across: I can print to the console with print - can I also input from the console?
 

Dhanji R. Prasanna

unread,
Jul 3, 2012, 8:00:29 PM7/3/12
to loop...@googlegroups.com
Hey, sounds great.

Right now, the best way to determine keywords and operators would be from Token.java:

That is a complete list of operators and keywords. We may add ones later but I don't foresee anything like that. The built-in functions library is very sparse right now, some people have volunteered to write file i/o and stuff like that but right now there are only the functions in prelude:
(see looplang.org/doc for docs on each one).

Thanks! that's great praise, I would love if loop were used to teach kids (or adults) programming. I started learning on Logo (a cut-down lisp) so functional languages are a great intro!

Dhanji.
Reply all
Reply to author
Forward
0 new messages