Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | one more bug, and documentation for infix | Kartik K. Agaram | 2021-06-23 | 1 | -23/+16 |
| | | | | One error message gets a bit worse. | ||||
* | beginnings of tokenization within symbols | Kartik K. Agaram | 2021-06-22 | 1 | -1/+1 |
| | | | | We're now down to 4 failing tests. But these will require surgery. | ||||
* | clean up lexical categories | Kartik K. Agaram | 2021-06-22 | 1 | -44/+42 |
| | |||||
* | start implementing infix | Kartik K. Agaram | 2021-06-21 | 1 | -281/+3 |
| | | | | First step: undo operator support in tokenization. | ||||
* | new macro: with | Kartik K. Agaram | 2021-06-20 | 1 | -2/+4 |
| | |||||
* | start guessing parentheses based on indentation | Kartik K. Agaram | 2021-06-20 | 1 | -56/+28 |
| | |||||
* | snapshot | Kartik K. Agaram | 2021-06-20 | 1 | -0/+55 |
| | | | | | This is going better than expected; just 3 failing tests among the new ones. | ||||
* | start emitting indent tokens | Kartik K. Agaram | 2021-06-18 | 1 | -1/+155 |
| | |||||
* | redo next-token in more high-level terms | Kartik K. Agaram | 2021-06-18 | 1 | -73/+93 |
| | |||||
* | . | Kartik K. Agaram | 2021-06-18 | 1 | -30/+30 |
| | |||||
* | . | Kartik K. Agaram | 2021-06-18 | 1 | -49/+49 |
| | |||||
* | start emitting token for newline | Kartik K. Agaram | 2021-06-18 | 1 | -5/+12 |
| | |||||
* | newlines are now a token | Kartik K. Agaram | 2021-06-18 | 1 | -1/+11 |
| | |||||
* | start implementing indent-sensitivity | Kartik K. Agaram | 2021-06-18 | 1 | -2/+26 |
| | | | | | | | General plan: stop skipping newlines during tokenization introduce a new indent token, initially skip it transparently start doing cleverer things | ||||
* | . | Kartik K. Agaram | 2021-06-18 | 1 | -6/+2 |
| | |||||
* | . | Kartik K. Agaram | 2021-06-18 | 1 | -8/+6 |
| | |||||
* | shell: stop punning tokens as cells | Kartik K. Agaram | 2021-06-18 | 1 | -80/+107 |
| | |||||
* | shell: support negative integer literals | Kartik K. Agaram | 2021-06-06 | 1 | -1/+96 |
| | | | | We still don't support _any_ fractional literals, positive or negative. | ||||
* | . | Kartik K. Agaram | 2021-06-05 | 1 | -36/+84 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-30 | 1 | -3/+3 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-30 | 1 | -1/+1 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-29 | 1 | -0/+1 |
| | |||||
* | shell: non-stream tokens are now small | Kartik K. Agaram | 2021-05-29 | 1 | -3/+11 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-29 | 1 | -6/+4 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-29 | 1 | -9/+10 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-29 | 1 | -4/+4 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-29 | 1 | -2/+0 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-29 | 1 | -10/+10 |
| | |||||
* | . | Kartik K. Agaram | 2021-05-29 | 1 | -12/+12 |
| | |||||
* | shell: start reducing the waste in tokenize | Kartik K. Agaram | 2021-05-29 | 1 | -11/+11 |
| | |||||
* | a second place with lousy storage management | Kartik K. Agaram | 2021-05-19 | 1 | -0/+1 |
| | |||||
* | disallow null traces | Kartik K. Agaram | 2021-05-19 | 1 | -7/+28 |
| | | | | | | We now use traces everywhere for error-checking. Null traces introduce the possibility of changing a functions error response, and therefore its semantics. | ||||
* | give up on nested backquotes for now | Kartik K. Agaram | 2021-05-07 | 1 | -6/+2 |
| | |||||
* | first passing test for macroexpand | Kartik K. Agaram | 2021-05-06 | 1 | -24/+28 |
| | | | | | | | | In the process I spent a long time tracking down a stray TODO in 108write.subx that I thought would abort but didn't since the switch to baremetal. Then after I reintroduced that assertion I had to go track down a bunch of buffer sizes. Stream sizes continue to be a huge mess. | ||||
* | belatedly migrate stale example definitions | Kartik K. Agaram | 2021-05-06 | 1 | -1/+5 |
| | | | | | Also bare-bones syntax highlighting for .limg files. Doesn't work when .limg file is first file opened with Vim. | ||||
* | reading and printing backquotes and unquotes | Kartik K. Agaram | 2021-05-03 | 1 | -25/+178 |
| | |||||
* | shell: comments | Kartik K. Agaram | 2021-04-29 | 1 | -0/+47 |
| | |||||
* | . | Kartik K. Agaram | 2021-04-29 | 1 | -1/+0 |
| | |||||
* | load large definitions | Kartik K. Agaram | 2021-04-29 | 1 | -1/+1 |
| | |||||
* | shell: bugfix for stream literals | Kartik K. Agaram | 2021-04-28 | 1 | -2/+33 |
| | | | | | I was forgetting that callers sometimes reuse outputs between successive tokens. | ||||
* | shell: stream literals | Kartik K. Agaram | 2021-04-27 | 1 | -0/+7 |
| | |||||
* | shell: tokenizing stream (string) literals | Kartik K. Agaram | 2021-04-27 | 1 | -1/+78 |
| | | | | We're calling them streams since they support appending. | ||||
* | . | Kartik K. Agaram | 2021-04-27 | 1 | -8/+1 |
| | |||||
* | shell: dot token | Kartik K. Agaram | 2021-04-15 | 1 | -0/+58 |
| | |||||
* | . | Kartik K. Agaram | 2021-04-15 | 1 | -5/+9 |
| | |||||
* | shell: quote | Kartik K. Agaram | 2021-04-06 | 1 | -0/+14 |
| | |||||
* | strip spaces when tokenizing | Kartik K. Agaram | 2021-03-08 | 1 | -0/+1 |
| | | | | Thanks Max Bernstein for reporting this. | ||||
* | 7866 | Kartik Agaram | 2021-03-07 | 1 | -17/+17 |
| | |||||
* | 7857 - shell: first function call | Kartik K. Agaram | 2021-03-05 | 1 | -8/+154 |
| | |||||
* | 7842 - new directory organization | Kartik K. Agaram | 2021-03-03 | 1 | -0/+422 |
Baremetal is now the default build target and therefore has its sources at the top-level. Baremetal programs build using the phase-2 Mu toolchain that requires a Linux kernel. This phase-2 codebase which used to be at the top-level is now under the linux/ directory. Finally, the phase-2 toolchain, while self-hosting, has a way to bootstrap from a C implementation, which is now stored in linux/bootstrap. The bootstrap C implementation uses some literate programming tools that are now in linux/bootstrap/tools. So the whole thing has gotten inverted. Each directory should build one artifact and include the main sources (along with standard library). Tools used for building it are relegated to sub-directories, even though those tools are often useful in their own right, and have had lots of interesting programs written using them. A couple of things have gotten dropped in this process: - I had old ways to run on just a Linux kernel, or with a Soso kernel. No more. - I had some old tooling for running a single test at the cursor. I haven't used that lately. Maybe I'll bring it back one day. The reorg isn't done yet. Still to do: - redo documentation everywhere. All the README files, all other markdown, particularly vocabulary.md. - clean up how-to-run comments at the start of programs everywhere - rethink what to do with the html/ directory. Do we even want to keep supporting it? In spite of these shortcomings, all the scripts at the top-level, linux/ and linux/bootstrap are working. The names of the scripts also feel reasonable. This is a good milestone to take stock at. |