]> git.mxchange.org Git - simgear.git/commit
Support for a "forindex(idx; list) {...}" construct analagous to
authorandy <andy>
Fri, 22 Apr 2005 21:54:16 +0000 (21:54 +0000)
committerandy <andy>
Fri, 22 Apr 2005 21:54:16 +0000 (21:54 +0000)
commit65056bfa72c5fc391c89a829bcd7bb2759284ce5
treef7c3a6ea02f3ec8723a925baa4238d070f258e87
parentc50bb90374acf3798d747b6e3c4910646e0593d4
Support for a "forindex(idx; list) {...}" construct analagous to
foreach, except that the variable gets the index instead of the list
element.  Should be useful, and took almost no code to implement.

Support for operator/assignment syntax: +=, -=, *=, /= and ~= now do
what you think they should.

Library support for a bind() function (see the docs Andy is still
writing), allowing runtime modifications to function lexical
environments.
simgear/nasal/code.c
simgear/nasal/code.h
simgear/nasal/codegen.c
simgear/nasal/lex.c
simgear/nasal/lib.c
simgear/nasal/parse.c
simgear/nasal/parse.h