about summary refs log tree commit diff stats
path: root/subx/073next-token.subx
Commit message (Collapse)AuthorAgeFilesLines
* .Kartik Agaram2019-07-081-10/+10
| | | | | Be more consistent about names of ends of a slice. (In the opposite direction compared to last night's 925fc490d2ce8b8d411de87bd0af5b3a8a704213.)
* .Kartik Agaram2019-07-081-10/+10
| | | | Be more consistent about names of ends of a slice.
* unsigned comparison for addresses in more placesKartik Agaram2019-07-011-2/+2
|
* .Kartik Agaram2019-06-121-7/+0
| | | | | Now that we don't have to edit code to run a single test, delete that commented out fragment everywhere.
* new primitive: parse-array-of-intsKartik Agaram2019-05-251-5/+5
| | | | | | | | | | Mostly for tests. For every new type we want to compare in a test, we're now going to start using some primitive that can parse its value from string. In this manner we can get syntax for literals in machine code. Open question: parsing aggregates of aggregates. Like an array of structs. This is the first time we allocate from the heap in standard library tests. So we now need to start initializing the heap in all our apps.
* .Kartik Agaram2019-05-251-0/+2
|
* 5102Kartik Agaram2019-04-161-2/+2
|
* 5084Kartik Agaram2019-04-111-3/+3
|
* 5050 - compile ModR/M operandsKartik Agaram2019-04-021-2/+2
|
* 5037Kartik Agaram2019-03-291-4/+4
|
* 5027Kartik Agaram2019-03-271-0/+54
| | | | | | | | | Testing conversion of multiple lines in a data segment. Bugs fixed: 1. Stack issues in next-token helpers. 2. Needed to teach next-token to avoid newlines. 3. rewind-stream(line) before passing it to convert-code or convert-instruction.
* 4983Kartik Agaram2019-02-221-7/+7
| | | | | | | Standardize name for 'end of file' sentinel. `eof` seems like an ordinary variable, and `EOF` looks too much like a register (particularly in code like `if (EAX == EOF)`), so we'll go with `Eof`. Consistent capitalization for globals, and constants are globals too.
* 4981 - no, go back to 3 phasesKartik Agaram2019-02-181-6/+5
| | | | | | | | | | | | | Considering how much trouble a merge phase would be (commit 4978), it seems simpler to just add the extra syntax for controlling the entry point of the generated ELF binary. But I wouldn't have noticed this if I hadn't taken the time to write out the commit messages of 4976 and 4978. Even if we happened to already have linked list primitives built, this may still be a good idea considering that I'm saving quite a lot of code in duplicated entrypoints.
* 4950Kartik Agaram2019-02-031-0/+849