File: expander_notes.txt

package info (click to toggle)
tcllib 1.20%2Bdfsg-1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 68,064 kB
  • sloc: tcl: 216,842; ansic: 14,250; sh: 2,846; xml: 1,766; yacc: 1,145; pascal: 881; makefile: 107; perl: 84; f90: 84; python: 33; ruby: 13; php: 11
file content (47 lines) | stat: -rw-r--r-- 1,929 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
expander notes:
o   expander.tcl is an objectified version of the expansion algorithm
    used in expand and Spinster.  Goals
    -   Multiple expanders can be used at one time
    -   Handling of batch or incremental input
    -   Support for user-settable brackets
    -   Support for context stack.
o   Next: add and test incremental expansion.

Things done: 11/23/2001
x   Added the evalcmd command; this allows the application to specify
    a different means of evaluating macros than the default "uplevel
    #0".

Things done: 11/3/2001
x   Added a couple of more tests for the nested expander problem I
    fixed the other day.
x   Finished the man page for the current version.
x   Time to zip it up and send it off to Andreas.

Things done: 10/31/2001
x   Updated the list of possible error modes to match the list in
    Expand 2.1
x   Added tests for each of the error modes to expander.test.
x   Created a modified version of Expand 2.1 that uses expander; it
    was able to process the Ex Libris website without error.
x   Found an error: if an expander is used to expand text which
    contains a call to another expander, the two get confused--because
    of the "::expander::This" variable.
    -   It works for the recordkeeper, because a recordkeeper method
        can never execute a method for a different recordkeeper.
    -   What if Methods saved the old This, and restored it at the
        end?
    -   Tried it; it works!  All existing tests pass.

Things done: 10/30/2001
x   Wrote more tests; found and fixed bracket restoration bug in expander.

Things done: 10/25/2001
x   Wrote tests for the lb, rb, and errmode commands.
x   Added the reset command.
x   Wrote tests for the reset command.
x   Added the context stack commands, and wrote tests for them.
    
Things done: 10/24/2001
x   Copied recordkeeper code and docs as a template.
x   Implemented the lb, rb, and errmode accessor methods.