Improving Nasal: Difference between revisions

Jump to navigation Jump to search
m
Line 72: Line 72:
* Being able to dump the global namespace (see [http://flightgear.org/forums/viewtopic.php?f=30&t=19049&p=182930&#p182930 this topic] for a possible solution) or at least dump things prettily (an unreleased version of the file discussed in [[Nasal Meta-Programming]] has good support for nice formatting).
* Being able to dump the global namespace (see [http://flightgear.org/forums/viewtopic.php?f=30&t=19049&p=182930&#p182930 this topic] for a possible solution) or at least dump things prettily (an unreleased version of the file discussed in [[Nasal Meta-Programming]] has good support for nice formatting).


* Register a callback for handling errors using call()
* Register a callback for handling errors using call() (for parser errors it will need the AST, for runtime errors it would need bytecode access)
* work on abstracting the GC interface (Hooray) {{Progressbar|50}}
* work on abstracting the GC interface (Hooray) {{Progressbar|50}}
* Register a callback for OP_FCALL et al. to be able to time function calls {{Progressbar|80}}. Example [https://gitorious.org/~philosopher/nasal-standalone/nasal-experiments/blobs/extended-f_call/test.nas].
* Register a callback for OP_FCALL et al. to be able to time function calls {{Progressbar|80}}. Example [https://gitorious.org/~philosopher/nasal-standalone/nasal-experiments/blobs/extended-f_call/test.nas].

Navigation menu