diff options
Diffstat (limited to 'clformat')
| -rw-r--r-- | clformat/TODO | 7 | ||||
| -rw-r--r-- | clformat/src/main/java/bjc/utils/ioutils/format/CLValue.java | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/clformat/TODO b/clformat/TODO index a62a89e..abe3a37 100644 --- a/clformat/TODO +++ b/clformat/TODO @@ -12,4 +12,9 @@ allows you to bind directives to various characters and customize their behavior One thing that will need to be involved is that all of the directives should probably have their interfaces tweaked to allow you to provide a custom form of them. One could argue this is the sort of thing that macros could do, but I can -see no compelling reason not to implement both features
\ No newline at end of file +see no compelling reason not to implement both features + +@TODO Nov 14th, 2020 Ben Culkin :OnceDirective +Implement a directive (`O probably) that will only be executed once per given +invocation of 'format', or maybe one for 'once per enclosing directive'. Could +be useful, especially once we have more stateful directives.
\ No newline at end of file diff --git a/clformat/src/main/java/bjc/utils/ioutils/format/CLValue.java b/clformat/src/main/java/bjc/utils/ioutils/format/CLValue.java index 746bf31..c623e6f 100644 --- a/clformat/src/main/java/bjc/utils/ioutils/format/CLValue.java +++ b/clformat/src/main/java/bjc/utils/ioutils/format/CLValue.java @@ -17,6 +17,9 @@ import bjc.esodata.*; * models lexical scopes (extend on FunctionalMap may do the right thing, not sure) * - Local variables, stored on the FormatContext as well, but these * aren't copied over when a new context is built. + * + * For static/global variables, maybe some equivalent of 'local' from perl to + * localize them. */ /** * Represents a parameter value to an edict that may have a dynamic value |
