diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-14 06:53:16 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-14 06:53:16 -0700 |
commit | 96f072cfdb5d1eac3e32dbdb15704b0a32258a37 (patch) | |
tree | b25990f165c0485db4f990a4e721191b4b8380d5 /hash.h | |
parent | 7f0f22c4e455f457d37ddf542b36c49db20d16af (diff) | |
download | txr-96f072cfdb5d1eac3e32dbdb15704b0a32258a37.tar.gz txr-96f072cfdb5d1eac3e32dbdb15704b0a32258a37.tar.bz2 txr-96f072cfdb5d1eac3e32dbdb15704b0a32258a37.zip |
Implementing #H((...) ...) read/print syntax for hash tables.
* hash.c (print_key_val, hash_print_op): New static functions.
(hash_ops): hash_print_op wired in in place of cobj_print_op.
* parser.l (HASH_H): New token recognized.
* parser.y (HASH_H): New terminal symbol.
(hash): New nonterminal symbol.
(expr): Acquires hash as a constituent.
(hash_from_notation): New static function.
* txr.1: Hash syntax described.
* txr.vim: Updated.
Diffstat (limited to 'hash.h')
0 files changed, 0 insertions, 0 deletions