source: project/chicken/branches/hygienic/TODO @ 11961

Last change on this file since 11961 was 11961, checked in by felix winkelmann, 13 years ago

henrietta test-case handling stuff - untested

File size: 2.9 KB
Line 
1TODO for macro/module system                                    -*- Outline -*-
2
3* what about thread-terminate! ? (at least note in manual)
4
5* trunk merge
6  11635 was last
7
8* macros
9** at some stage disable debug-output in expand.scm
10
11* bugs
12** compiler
13*** pre-optimization
14**** changes call-sites and makes them invalid for later pre-optimization
15** macros
16*** expansion of r5rs_pitfall 4.2 incorrect
17    possibly due to a non-aliased implicit "begin" somewhere
18*** dirty-macros.scm loops when using `defile'
19    possibly due to unrenamed special forms
20** modules
21*** chicken.import.scm refers to ##sys#chicken-macro-environment
22    ... which is only set, if chicken-more-macros.scm is loaded, which
23    is of course not the case inside a compiled executable (current
24    workaround is to set them to nil by default)
25*** same for ##sys#chicken-ffi-macro-environment
26*** re-exports of syntax doesn't work
27    generating import library requires source
28    (compiled-module-registration), but original module is lost after
29    importing.
30*** `require-extension' fails in interpreter when extension is .so without import library
31    probably because load and import is in same toplevel form, and the
32    load is performed after the import (at runtime). A possibly fix
33    would be to load the extension immediately (at
34    compile-/expansion-time), when import is #t and o import lib
35    exists.
36
37* tests
38** optional longer run (env. var)
39*** syntax-rules-stress-test
40*** fully compiled ec-tests
41
42* module issues
43** code-duplication in compiler and evaluator for ##core#module
44** "scheme" module does not include some special forms ("define-syntax", etc.)
45** import-for-syntax imports value bindings into import-env
46   should actually be a distinct meta-import-env.
47   (does it work at all?)
48** curried define performs expansion in empty se - problem?
49   (as comment in expand.scm indicated (##sys#register-export))
50
51* setup/install
52** setup-download
53*** HTTP_PROXY
54*** handle redirects in http-fetch
55*** connect timeout and alternative download location
56*** only download tests on demand (-test option)
57**** implemented - test
58** chicken-install
59*** handle needs/depends of builtin extension
60*** should cache extension-info
61    necessary?
62** henrietta
63*** parameter "tests=BOOL" controls whether tests should be downloaded
64*** remove "test" parameter
65
66* documentation
67** document ("HI/LO") expander (-> wiki, internals)
68** document new .meta entries
69   depends, test-depends
70
71* build
72** chicken.texi needs to be regenerated
73
74* syntax-error
75** if ##sys#current-module is set, add name to error message?
76** fluidly keep track of expanded forms (extend meaning of culprit)
77   to pprint pruned expr on error
78
79* modules
80** checks
81*** reimport of imported id
82*** unused defs?
83
84* eggs
85** numbers
86   segfaults - something wrong with finalization, may be related to
87   warning on compilation
88   (might be fixed with force-finalizers not imported - test with optimizations on)
89** test sassy (needs henrietta+test thing!)
Note: See TracBrowser for help on using the repository browser.