summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* eshtrans: Fix T_STATIC and T_LOCAL recognition and codegenP. J. McDermott2016-02-282-6/+12
|
* eshtrans/backend: Implement "nostack" pragmaP. J. McDermott2016-02-281-11/+30
|
* eshtrans: Add and parse T_USEP. J. McDermott2016-02-283-3/+10
|
* eshtrans/frontend: Comment out ptrace stuffP. J. McDermott2016-02-281-111/+111
|
* eshld/eshrt: Rename static() to __static()P. J. McDermott2016-02-281-1/+1
|
* eshtrans: Make T_STATIC generate "__static"P. J. McDermott2016-02-281-1/+1
|
* Revert "Revert "eshtrans/frontend: Comment out dbg() and its calls""P. J. McDermott2016-02-281-16/+16
| | | | This reverts commit caa19db7c11ee3c53833614e66a2b8d1a0d31668.
* Merge branch 'feature/no-dd-lexer'P. J. McDermott2016-02-283-79/+104
|\
| * eshtrans/frontend: Fix lungetc()P. J. McDermott2016-02-281-2/+1
| | | | | | | | It needn't be called for non-backslash word characters.
| * eshtrans: Preserve trailing whitespace in input filesP. J. McDermott2016-02-281-3/+7
| |
| * eshtrans/frontend: Drop extra scan_word() argumentP. J. McDermott2016-02-281-1/+1
| |
| * eshtrans/frontend: Fix lsetc()P. J. McDermott2016-02-281-8/+4
| |
| * eshtrans/frontend: Fix lungetc()P. J. McDermott2016-02-271-1/+4
| |
| * Revert "eshtrans/frontend: Comment out dbg() and its calls"P. J. McDermott2016-02-271-16/+16
| | | | | | | | | | | | | | This reverts commit c9b9e578ed90b5421ae77f7e55941be09f17bdab. Conflicts: eshtrans/frontend/lexer.esh
| * eshtrans/frontend: Fix ungetc code and run_sublexer()P. J. McDermott2016-02-271-39/+24
| |
| * [WIP] eshtrans/frontend: Split input into internal char arrayP. J. McDermott2016-02-273-24/+62
| |
* | Revert "Revert "eshtrans/frontend: Comment out dbg() and its calls""P. J. McDermott2016-02-281-16/+16
| | | | | | | | This reverts commit 46a5273845a75860508aef036467a8c6091f58cf.
* | Revert "eshtrans/frontend: Comment out dbg() and its calls"P. J. McDermott2016-02-271-16/+16
|/ | | | | | | This reverts commit c9b9e578ed90b5421ae77f7e55941be09f17bdab. Conflicts: eshtrans/frontend/lexer.esh
* eshprof: Show time per callP. J. McDermott2016-02-271-3/+7
|
* eshtrans/backend: Split tokens array into internal char arrayP. J. McDermott2016-02-272-7/+38
| | | | Don't read characters one at a time with dd.
* eshtrans/frontend: Fix string length param expansionsP. J. McDermott2016-02-271-1/+1
|
* eshtrans/frontend: Use printf in accept() instead of str concatP. J. McDermott2016-02-261-13/+7
| | | | | This results in a very slight performance boost, trading memcpy()s for write()s.
* eshtrans/Makefile: Remove dependencies on MakefileP. J. McDermott2016-02-261-4/+4
|
* eshtrans/Makefile: Make libeshprof optionalP. J. McDermott2016-02-261-4/+8
|
* eshtrans/Makefile: Simplify stage targetsP. J. McDermott2016-02-261-8/+2
|
* eshld/eshrt: Lose all command substitutions in ctxswP. J. McDermott2016-02-261-7/+6
|
* research: Lose all command substitutions in ctxswP. J. McDermott2016-02-261-6/+6
|
* eshld/eshrt: Lose a command substitutionP. J. McDermott2016-02-261-2/+2
|
* eshld/eshrt: Lose an evalP. J. McDermott2016-02-261-2/+2
|
* research: Lose an evalP. J. McDermott2016-02-261-4/+4
|
* eshprof: Really right-justify "self seconds" column headingP. J. McDermott2016-02-261-1/+1
|
* eshtrans/Makefile: Don't manage ../libeshprof/hooks.eshP. J. McDermott2016-02-261-6/+6
|
* eshld/eshrt: Add "unset IFS" before for loopsP. J. McDermott2016-02-261-0/+7
|
* eshtrans/frontend: Comment out dbg() and its callsP. J. McDermott2016-02-261-16/+16
|
* eshprof: Right-justify "self seconds" column headingP. J. McDermott2016-02-261-2/+2
|
* eshprof: Fix case patternP. J. McDermott2016-02-261-1/+1
|
* eshprof/Makefile: AddP. J. McDermott2016-02-251-0/+22
|
* eshprof: Store times as integersP. J. McDermott2016-02-251-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 eshprofP. J. McDermott2016-02-252-0/+223
|
* eshtrans/Makefile: Add profiling and indent submake outputP. J. McDermott2016-02-241-8/+8
|
* eshtrans/Makefile.old, eshtrans/bootstrap.sh: RemoveP. J. McDermott2016-02-242-44/+0
|
* eshtrans/Makefile: Handle bootstrappingP. J. McDermott2016-02-241-11/+43
|
* eshld/eshrt: Encode stack in vars with a stack pointerP. J. McDermott2016-02-241-44/+29
| | | | | String manipulations are slow and require fork()ing for sed to escape/encode input data.
* research: New stack management test scriptP. J. McDermott2016-02-241-0/+308
|
* libeshprof: New profiling libraryP. J. McDermott2016-02-241-0/+41
|
* eshtrans/bootstrap.sh: Fix output and add timesP. J. McDermott2016-02-241-6/+6
|
* eshld/eshrt: Add function begin/end hooksP. J. McDermott2016-02-231-0/+22
|
* README: Fix wrappingP. J. McDermott2016-02-231-9/+12
|
* eshtrans: Add new bootstrap scriptP. J. McDermott2016-02-231-0/+16
|
* eshtrans/Makefile: Build eshtrans with itselfP. J. McDermott2016-02-232-4/+30
| | | | The old bootstrapping/stage-one makefile is kept at Makefile.old.