Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | eshtrans/join.sh: Remove | P. J. McDermott | 2017-02-08 | 1 | -83/+0 |
| | |||||
* | Revert "eshtrans/frontend: Replace printf calls with array" | P. J. McDermott | 2017-02-08 | 1 | -13/+1 |
| | | | | This reverts commit 958ce6861a0a174245e8a60379eeffa45c49bb87. | ||||
* | eshtrans/frontend: Replace printf calls with array | P. J. McDermott | 2017-02-08 | 1 | -1/+13 |
| | | | | | | | This should run faster, due to the reduced forks and I/O calls, but it doesn't seem to. Also, this messes up the order of tokens. | ||||
* | eshtrans/join.sh: New experimental benchmarking script | P. J. McDermott | 2017-02-08 | 1 | -0/+83 |
| | |||||
* | eshtrans/split.sh: Remove | P. J. McDermott | 2017-02-08 | 1 | -48/+0 |
| | |||||
* | eshtrans/frontend: Clarify awk script in run_lexer() | P. J. McDermott | 2017-02-08 | 1 | -2/+3 |
| | |||||
* | eshtrans/split.sh: New experimental file | P. J. McDermott | 2017-02-08 | 1 | -0/+48 |
| | |||||
* | eshtrans/.gitignore: New file | P. J. McDermott | 2017-02-08 | 1 | -0/+2 |
| | |||||
* | eshtrans/eshrt: Collapse case constructs in __fn_ctxsw() | P. J. McDermott | 2017-02-08 | 1 | -22/+18 |
| | |||||
* | eshtrans/eshrt: Fix local variable error message | P. J. McDermott | 2016-03-24 | 1 | -1/+1 |
| | |||||
* | eshtrans: Support "void" in parameter lists | P. J. McDermott | 2016-02-28 | 5 | -5/+37 |
| | |||||
* | eshtrans/eshrt: Fix function name in __check_args() | P. J. McDermott | 2016-02-28 | 1 | -2/+2 |
| | |||||
* | eshtrans: Add parameter list example program | P. J. McDermott | 2016-02-28 | 1 | -0/+17 |
| | |||||
* | eshtrans: Fix esh_parse() call when no -o option is given | P. J. McDermott | 2016-02-28 | 1 | -1/+3 |
| | |||||
* | eshtrans/eshrt: Add __check_args() | P. J. McDermott | 2016-02-28 | 1 | -0/+43 |
| | |||||
* | eshtrans: Support parameter lists | P. J. McDermott | 2016-02-28 | 4 | -1/+58 |
| | |||||
* | eshtrans/eshrt: Re-add __frame_set() call to __fn_start() | P. J. McDermott | 2016-02-28 | 1 | -0/+1 |
| | | | | This saves the list of local variables to the stack. | ||||
* | eshtrans/eshrt: Index local variables by SP, not function name | P. J. McDermott | 2016-02-28 | 1 | -2/+2 |
| | |||||
* | eshtrans/eshrt: Drop old variables and function call | P. J. McDermott | 2016-02-28 | 1 | -8/+3 |
| | |||||
* | eshtrans/backend: Add missing local variable declaration | P. J. McDermott | 2016-02-28 | 1 | -0/+1 |
| | |||||
* | eshtranseshrt: Store local vars in eval'd table | P. J. McDermott | 2016-02-28 | 1 | -4/+4 |
| | |||||
* | eshtrans: Add eshrt | P. J. McDermott | 2016-02-28 | 3 | -2/+281 |
| | |||||
* | eshtrans: Fix T_STATIC and T_LOCAL recognition and codegen | P. J. McDermott | 2016-02-28 | 2 | -6/+12 |
| | |||||
* | eshtrans/backend: Implement "nostack" pragma | P. J. McDermott | 2016-02-28 | 1 | -11/+30 |
| | |||||
* | eshtrans: Add and parse T_USE | P. J. McDermott | 2016-02-28 | 3 | -3/+10 |
| | |||||
* | eshtrans/frontend: Comment out ptrace stuff | P. J. McDermott | 2016-02-28 | 1 | -111/+111 |
| | |||||
* | eshtrans: Make T_STATIC generate "__static" | P. J. McDermott | 2016-02-28 | 1 | -1/+1 |
| | |||||
* | Revert "Revert "eshtrans/frontend: Comment out dbg() and its calls"" | P. J. McDermott | 2016-02-28 | 1 | -16/+16 |
| | | | | This reverts commit caa19db7c11ee3c53833614e66a2b8d1a0d31668. | ||||
* | eshtrans/frontend: Fix lungetc() | P. J. McDermott | 2016-02-28 | 1 | -2/+1 |
| | | | | It needn't be called for non-backslash word characters. | ||||
* | eshtrans: Preserve trailing whitespace in input files | P. J. McDermott | 2016-02-28 | 1 | -3/+7 |
| | |||||
* | eshtrans/frontend: Drop extra scan_word() argument | P. J. McDermott | 2016-02-28 | 1 | -1/+1 |
| | |||||
* | eshtrans/frontend: Fix lsetc() | P. J. McDermott | 2016-02-28 | 1 | -8/+4 |
| | |||||
* | eshtrans/frontend: Fix lungetc() | P. J. McDermott | 2016-02-27 | 1 | -1/+4 |
| | |||||
* | Revert "eshtrans/frontend: Comment out dbg() and its calls" | P. J. McDermott | 2016-02-27 | 1 | -16/+16 |
| | | | | | | | This reverts commit c9b9e578ed90b5421ae77f7e55941be09f17bdab. Conflicts: eshtrans/frontend/lexer.esh | ||||
* | eshtrans/frontend: Fix ungetc code and run_sublexer() | P. J. McDermott | 2016-02-27 | 1 | -39/+24 |
| | |||||
* | [WIP] eshtrans/frontend: Split input into internal char array | P. J. McDermott | 2016-02-27 | 3 | -24/+62 |
| | |||||
* | eshtrans/backend: Split tokens array into internal char array | P. J. McDermott | 2016-02-27 | 2 | -7/+38 |
| | | | | Don't read characters one at a time with dd. | ||||
* | eshtrans/frontend: Fix string length param expansions | P. J. McDermott | 2016-02-27 | 1 | -1/+1 |
| | |||||
* | eshtrans/frontend: Use printf in accept() instead of str concat | P. J. McDermott | 2016-02-26 | 1 | -13/+7 |
| | | | | | This results in a very slight performance boost, trading memcpy()s for write()s. | ||||
* | eshtrans/Makefile: Remove dependencies on Makefile | P. J. McDermott | 2016-02-26 | 1 | -4/+4 |
| | |||||
* | eshtrans/Makefile: Make libeshprof optional | P. J. McDermott | 2016-02-26 | 1 | -4/+8 |
| | |||||
* | eshtrans/Makefile: Simplify stage targets | P. J. McDermott | 2016-02-26 | 1 | -8/+2 |
| | |||||
* | eshtrans/Makefile: Don't manage ../libeshprof/hooks.esh | P. J. McDermott | 2016-02-26 | 1 | -6/+6 |
| | |||||
* | eshtrans/frontend: Comment out dbg() and its calls | P. J. McDermott | 2016-02-26 | 1 | -16/+16 |
| | |||||
* | eshtrans/Makefile: Add profiling and indent submake output | P. J. McDermott | 2016-02-24 | 1 | -8/+8 |
| | |||||
* | eshtrans/Makefile.old, eshtrans/bootstrap.sh: Remove | P. J. McDermott | 2016-02-24 | 2 | -44/+0 |
| | |||||
* | eshtrans/Makefile: Handle bootstrapping | P. J. McDermott | 2016-02-24 | 1 | -11/+43 |
| | |||||
* | eshtrans/bootstrap.sh: Fix output and add times | P. J. McDermott | 2016-02-24 | 1 | -6/+6 |
| | |||||
* | eshtrans: Add new bootstrap script | P. J. McDermott | 2016-02-23 | 1 | -0/+16 |
| | |||||
* | eshtrans/Makefile: Build eshtrans with itself | P. J. McDermott | 2016-02-23 | 2 | -4/+30 |
| | | | | The old bootstrapping/stage-one makefile is kept at Makefile.old. |