summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* ..Now you don'tP. J. McDermott2016-02-231-18/+0
|
* Pre-eshld three-stage bootstrap script: Now you see it...P. J. McDermott2016-02-231-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'tP. J. McDermott2016-02-234-627/+0
|
* Old runtime library research scripts: Now you see them...P. J. McDermott2016-02-234-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 fileP. J. McDermott2016-02-231-0/+48
|
* eshld/eshrt: Don't run unset with no argumentsP. J. McDermott2016-02-231-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 spacesP. J. McDermott2016-02-231-1/+14
|
* eshtrans/backend: Add static var values array initializationP. J. McDermott2016-02-231-0/+1
|
* eshtrans/Makefile, eshld/Makefile: Make executables executableP. J. McDermott2016-02-232-0/+2
|
* eshtrans/backend: Fix names in static function arraysP. J. McDermott2016-02-231-1/+1
|
* eshtrans/frontend: Inject ";" before __fn_end() callP. J. McDermott2016-02-231-0/+1
|
* eshtrans/backend: Add __tu_end() callP. J. McDermott2016-02-232-3/+7
|
* eshtrans/backend: Adjust whitespace after __fn_endP. J. McDermott2016-02-231-1/+4
|
* eshtrans/backend: Add TU to __fn_start callsP. J. McDermott2016-02-231-2/+3
|
* eshtrans/backend: Delimit func start/end calls with ";"P. J. McDermott2016-02-231-2/+2
|
* eshtrans/frontend: Accept any compound command in function bodyP. J. McDermott2016-02-231-7/+4
|
* eshld: Change header commentsP. J. McDermott2016-02-232-2/+2
|
* eshld: Add runtime libraryP. J. McDermott2016-02-234-24/+257
|
* eshtrans: Add T_LOCALP. J. McDermott2016-02-223-6/+9
|
* eshld/Makefile: New fileP. J. McDermott2016-02-221-0/+21
|
* Add basic eshldP. J. McDermott2016-02-222-0/+215
|
* .gitignore: New fileP. J. McDermott2016-02-221-0/+26
|
* eshtrans/Makefile: New fileP. J. McDermott2016-02-221-0/+27
|
* eshtrans/backend: Add function start/end callsP. J. McDermott2016-02-221-3/+19
|
* eshtrans/frontend: Accept T_RETURNP. J. McDermott2016-02-221-0/+5
|
* eshtrans/frontend: Inject function start/end tokensP. J. McDermott2016-02-221-2/+8
|
* eshtrans/frontend: Add inject() functionP. J. McDermott2016-02-221-0/+9
|
* eshtrans: Add function start/end tokensP. J. McDermott2016-02-221-0/+6
|
* eshtrans/backend: Add support for static vars and functionsP. J. McDermott2016-02-222-0/+64
|
* eshtrans/backend: Generate translation unit IDP. J. McDermott2016-02-225-3/+21
|
* eshtrans: Add proper user interfaceP. J. McDermott2016-02-211-95/+69
|
* Remove old demo parsing codeP. J. McDermott2016-02-214-1838/+0
|
* eshtrans/frontend: Fix line numbersP. J. McDermott2016-02-212-2/+6
|
* eshtrans/frontend: Escape "$" in patternsP. J. McDermott2016-02-211-3/+3
|
* eshtrans: Accept any input fileP. J. McDermott2016-02-211-3/+5
| | | | eshtrans is now able to compile itself.
* eshtrans/frontend: Fix validation patterns in accept()P. J. McDermott2016-02-211-4/+6
|
* eshtrans/frontend: Handle T_IO_NUMBERsP. J. McDermott2016-02-214-3/+34
| | | | Also fix a couple bugs in accept().
* eshtrans/frontend: Don't trim trailing tokens from scannersP. J. McDermott2016-02-212-28/+19
| | | | | | | | | | | | | | | | | | Before we'd get things like this: Input: $(foo bar) Output: $(foo ) Input: $(($(foo bar) + 1)) Output: $(($(foo ) + 1)) Now we get things like this: Input: $(foo bar) Output: $(foo bar ) Input: $(($(foo bar) + 1)) Output: $(($(foo bar ) + 1))
* eshtrans/backend: Don't add a space after "("P. J. McDermott2016-02-212-5/+8
|
* eshtrans/frontend: Count singly quoted newlinesP. J. McDermott2016-02-212-2/+7
|
* eshtrans/frontend: Fix missing ";;"P. J. McDermott2016-02-211-0/+1
| | | | | eshtrans caught an actual syntax error in itself (!), although oddly other shells didn't consider this an error.
* eshtrans/frontend: Fix handling of single quote in double quotesP. J. McDermott2016-02-212-2/+13
|