Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
... | |||||
* | Merge branch 'feature/no-dd-lexer' | P. J. McDermott | 2016-02-28 | 3 | -79/+104 |
|\ | |||||
| * | 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 |
| | | |||||
* | | Revert "Revert "eshtrans/frontend: Comment out dbg() and its calls"" | P. J. McDermott | 2016-02-28 | 1 | -16/+16 |
| | | | | | | | | This reverts commit 46a5273845a75860508aef036467a8c6091f58cf. | ||||
* | | 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 | ||||
* | eshprof: Show time per call | P. J. McDermott | 2016-02-27 | 1 | -3/+7 |
| | |||||
* | 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 |
| | |||||
* | eshld/eshrt: Lose all command substitutions in ctxsw | P. J. McDermott | 2016-02-26 | 1 | -7/+6 |
| | |||||
* | research: Lose all command substitutions in ctxsw | P. J. McDermott | 2016-02-26 | 1 | -6/+6 |
| | |||||
* | eshld/eshrt: Lose a command substitution | P. J. McDermott | 2016-02-26 | 1 | -2/+2 |
| | |||||
* | eshld/eshrt: Lose an eval | P. J. McDermott | 2016-02-26 | 1 | -2/+2 |
| | |||||
* | research: Lose an eval | P. J. McDermott | 2016-02-26 | 1 | -4/+4 |
| | |||||
* | eshprof: Really right-justify "self seconds" column heading | P. J. McDermott | 2016-02-26 | 1 | -1/+1 |
| | |||||
* | eshtrans/Makefile: Don't manage ../libeshprof/hooks.esh | P. J. McDermott | 2016-02-26 | 1 | -6/+6 |
| | |||||
* | eshld/eshrt: Add "unset IFS" before for loops | P. J. McDermott | 2016-02-26 | 1 | -0/+7 |
| | |||||
* | eshtrans/frontend: Comment out dbg() and its calls | P. J. McDermott | 2016-02-26 | 1 | -16/+16 |
| | |||||
* | eshprof: Right-justify "self seconds" column heading | P. J. McDermott | 2016-02-26 | 1 | -2/+2 |
| | |||||
* | eshprof: Fix case pattern | P. J. McDermott | 2016-02-26 | 1 | -1/+1 |
| | |||||
* | eshprof/Makefile: Add | P. J. McDermott | 2016-02-25 | 1 | -0/+22 |
| | |||||
* | eshprof: Store times as integers | P. J. McDermott | 2016-02-25 | 1 | -15/+11 |
| | | | | | | | Don't fork() and exec() awk. mksh doesn't seem to have sufficient precision here. We'll have to either ignore mksh for eshprof or maybe use bc. | ||||
* | Add initial eshprof | P. J. McDermott | 2016-02-25 | 2 | -0/+223 |
| | |||||
* | 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 |
| | |||||
* | eshld/eshrt: Encode stack in vars with a stack pointer | P. J. McDermott | 2016-02-24 | 1 | -44/+29 |
| | | | | | String manipulations are slow and require fork()ing for sed to escape/encode input data. | ||||
* | research: New stack management test script | P. J. McDermott | 2016-02-24 | 1 | -0/+308 |
| | |||||
* | libeshprof: New profiling library | P. J. McDermott | 2016-02-24 | 1 | -0/+41 |
| | |||||
* | eshtrans/bootstrap.sh: Fix output and add times | P. J. McDermott | 2016-02-24 | 1 | -6/+6 |
| | |||||
* | eshld/eshrt: Add function begin/end hooks | P. J. McDermott | 2016-02-23 | 1 | -0/+22 |
| | |||||
* | README: Fix wrapping | P. J. McDermott | 2016-02-23 | 1 | -9/+12 |
| | |||||
* | 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. | ||||
* | ..Now you don't | P. J. McDermott | 2016-02-23 | 1 | -18/+0 |
| | |||||
* | Pre-eshld three-stage bootstrap script: Now you see it... | P. J. McDermott | 2016-02-23 | 1 | -0/+18 |
| | | | | | | eshtrans was first able to pass a three-stage bootstrap at commit f6e7120 and failed to bootstrap with this script beginning at commit c8148e0 (when the runtime library became required). | ||||
* | ...Now you don't | P. J. McDermott | 2016-02-23 | 4 | -627/+0 |
| | |||||
* | Old runtime library research scripts: Now you see them... | P. J. McDermott | 2016-02-23 | 4 | -0/+627 |
| | | | | | | | | | Modification dates: research1.sh: 2016-02-13 14:44:30 -0500 research2.sh: 2016-02-13 19:25:25 -0500 research3.sh: 2016-02-14 17:56:33 -0500 research4.sh: 2016-02-23 01:26:54 -0500 | ||||
* | README: New file | P. J. McDermott | 2016-02-23 | 1 | -0/+48 |
| | |||||
* | eshld/eshrt: Don't run unset with no arguments | P. J. McDermott | 2016-02-23 | 1 | -2/+8 |
| | | | | | | | | | | | ksh93 and zsh don't like that: $ ksh93 test Usage: unset [-nfv] name... $ zsh test __fn_ctxsw:unset:24: not enough arguments __fn_ctxsw:unset:24: not enough arguments [...] | ||||
* | eshtrans/backend: Don't write trailing spaces | P. J. McDermott | 2016-02-23 | 1 | -1/+14 |
| |