aboutsummaryrefslogtreecommitdiff
path: root/TODO.txt
blob: dc1da895b9fed55b7cef4e3015278c0e42bdbf3d (plain)
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
48
49
50
Todo
----

Pycparser 2: the idea is to "mostly" support C99

Implement:

V- long long: including literal endings LL in lexer
V- new keywords restrict, inline
V- mix declarations and statements inside a block
V- VLAs (non-constants in arr[n]), including [*] for parameter lists
V- declarations in the first expression of "for" loops
- named initializers for structs and arrays
  - including unnamed objects 

* Make the changelog in the readme a normal bullet list

Fixes since last:
------------------

* 

Version Update
--------------

setup.py, __init__.py, README.txt


Build docs and distribution
---------------------------

rst2html readme.txt > readme.html
setup.py sdist

Misc
----

yacc optimization: 
- If parsetab.py/pyc doesn't exist in the path, the table will be reconstructed anyway, regardless of the optimize parameter
- If it does exist:
  - If optimize=True, the table will be loaded unconditionally
  - If optimize=False, the table will be loaded only if it's older than the grammar

lex optimization:
- If optimize=False, the lexical table is re-computed and is not saved to a lextab file
- If optimize=True:
  - If lextab.py/pyc exists in the path, it will be loaded unconditionally
  - If lextab.py/pyc doesn't exist, it will be created and loaded