[root]/trunk/examples/compiler

| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 7 (100.0%) | 178 (100.0%) | 25.4 |
| norbertmocsnik | 5 (71.4%) | 160 (89.9%) | 32.0 |
| JeffMoore | 2 (28.6%) | 18 (10.1%) | 9.0 |
Moved many of the examples into an acceptance test directory, cleaning up the
examples directory to contain only end-user focused examples.
Examples should be full applications that perform some nominally useful
function.
Code fragments go in the acceptance directory.
0 lines of code changed in 1 file:
Updated example to reflect the collecting parameter pattern design of the CodeWriter.
91 lines of code changed in 1 file:
Updated example.
4 lines of code changed in 1 file:
Added createFunction() and createClass() to WactCodeWriterFile. Added createFunction() to WactCodeWriterClass.
4 lines of code changed in 1 file:
Merged classes down into a single file.
Renamed WactCodeWriterFile to WactCodeWriter.
Reworked scope handling.
registerClass() and registerFunction() now switches scope automatically.
Fixed the warnings that I missed last time because of my low error_reporting level.
Added documentation.
2 lines of code changed in 1 file:
Removed file output of generated code.
18 lines of code changed in 1 file:
The new CodeWriter with OOP capability. Warning: Proof of concept.
@todo: member variables, function/variable scopes, canonical names (where appropriate).
Needs to raise exceptions, more tests and documentation.
59 lines of code changed in 1 file: