| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
14.5 Limitations and Future Plans
We hope you find dgawk useful and enjoyable to work with,
but as with any program, especially in its early releases, it still has
some limitations. A few which are worth being aware of are:
-
At this point,
dgawkdoes not give a detailed explanation of what you did wrong when you type in something it doesn’t like. Rather, it just responds ‘syntax error’. When you do figure out what your mistake was, though, you’ll feel like a real guru. -
If you perused the dump of opcodes in Miscellaneous Commands,
(or if you are already familiar with
gawkinternals), you will realize that much of the internal manipulation of data ingawk, as in many interpreters, is done on a stack.Op_push,Op_pop, etc., are the “bread and butter” of mostgawkcode. Unfortunately, as of now,dgawkdoes not allow you to examine the stack’s contents.That is, the intermediate results of expression evaluation are on the stack, but cannot be printed. Rather, only variables which are defined in the program can be printed. Of course, a workaround for this is to use more explicit variables at the debugging stage and then change back to obscure, perhaps more optimal code later.
-
There is no way to look “inside” the process of compiling
regular expressions to see if you got it right. As an
awkprogrammer, you are expected to know what/[^[:alnum:][:blank:]]/means. -
dgawkis designed to be used by running a program (with all its parameters) on the command line, as described indgawkInvocation. There is no way (as of now) to attach or “break in” to a running program. This seems reasonable for a language which is used mainly for quickly executing, short programs. -
dgawkonly accepts source supplied with the ‘-f’ option.
Look forward to a future release when these and other missing features may be added, and of course feel free to try to add them yourself!
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
