[chuck] Scoping and wishlists

Ge Wang gewang at CS.Princeton.EDU
Tue Oct 26 15:17:44 EDT 2004


> Is there documentation of any kind for the language besides the 
> lex/yacc files and the short tutorial?  I've been wondering if all the 
> control structures from C++ are there, e.g., switch statements, break, 
> etc.

if, for, while, do/while, until, do/until are there, no switch, and I 
believe break isn't here
until the next release.  (sorry)

> Also, is there anyway to access the underlying OS, as in Perl?

actually, there is (whoa).  std.system( string ) passes commands to the 
shell.

here is a list - no descriptions, of course. (sorry again)

      http://chuck.cs.princeton.edu/doc/program/stdlib.html

also see examples/std.ck

Best,
Ge!



More information about the chuck mailing list