Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | . | Kartik Agaram | 2021-06-23 | 4 | -2/+2 |
| | |||||
* | . | Kartik Agaram | 2021-06-23 | 1 | -8/+0 |
| | |||||
* | . | Kartik Agaram | 2021-06-23 | 1 | -1/+1 |
| | |||||
* | . | Kartik Agaram | 2021-06-23 | 1 | -2/+2 |
| | |||||
* | . | Kartik Agaram | 2021-06-23 | 17 | -5546/+6890 |
| | |||||
* | . | Kartik Agaram | 2021-06-23 | 1 | -4/+4 |
| | |||||
* | . | Kartik Agaram | 2021-06-23 | 1 | -1/+1 |
| | |||||
* | one more bug, and documentation for infix | Kartik K. Agaram | 2021-06-23 | 4 | -27/+80 |
| | | | | One error message gets a bit worse. | ||||
* | . | Kartik K. Agaram | 2021-06-23 | 1 | -3/+3 |
| | |||||
* | . | Kartik K. Agaram | 2021-06-23 | 1 | -8/+8 |
| | |||||
* | one more bug | Kartik K. Agaram | 2021-06-23 | 2 | -9/+22 |
| | |||||
* | start using infix in data disk | Kartik K. Agaram | 2021-06-23 | 1 | -57/+54 |
| | | | | Still some gaps to track down. | ||||
* | all tests passing again; infix seems done | Kartik K. Agaram | 2021-06-22 | 3 | -16/+20 |
| | |||||
* | infix tests passing but something's still broken | Kartik K. Agaram | 2021-06-22 | 1 | -2/+48 |
| | |||||
* | 2 failing tests remaining | Kartik K. Agaram | 2021-06-22 | 1 | -2/+44 |
| | | | | We just need to support unary operators. | ||||
* | almost there; this is encouraging | Kartik K. Agaram | 2021-06-22 | 1 | -16/+21 |
| | | | | The at-head-of-list? is a really ugly hack, though. | ||||
* | beginnings of tokenization within symbols | Kartik K. Agaram | 2021-06-22 | 2 | -17/+68 |
| | | | | We're now down to 4 failing tests. But these will require surgery. | ||||
* | . | Kartik K. Agaram | 2021-06-22 | 2 | -21/+3 |
| | |||||
* | clean up lexical categories | Kartik K. Agaram | 2021-06-22 | 3 | -142/+58 |
| | |||||
* | snapshot | Kartik K. Agaram | 2021-06-22 | 1 | -3/+32 |
| | | | | | Still a couple of failing tests before I switch gears to breaking down symbols containing infix. | ||||
* | . | Kartik K. Agaram | 2021-06-22 | 1 | -3/+5 |
| | |||||
* | snapshot: infix | Kartik K. Agaram | 2021-06-22 | 6 | -26/+557 |
| | | | | | | | | | | | | | | | | | | | | | Like parenthesize, I'm copying tests over from https://github.com/akkartik/wart Unlike parenthesize, though, I can't just transliterate the code itself. Wart was operating on an intermediate AST representation. Here I'm all the way down to cells. That seemed like a good idea when I embarked, but now I'm not so sure. Operating with the right AST data structure allowed me to more easily iterate over the elements of a list. The natural recursion for cells is not a good fit. This patch and the next couple is an interesting case study in what makes Unix so effective. Yes, you have to play computer, and yes it gets verbose and ugly. But just diff and patch go surprisingly far in helping build a picture of the state space in my brain. Then again, there's a steep gradient of skills here. There are people who can visualize state spaces using diff and patch far better than me, and people who can't do it as well as me. Nature, nurture, having different priorities, whatever the reason. Giving some people just the right crutch excludes others. | ||||
* | . | Kartik K. Agaram | 2021-06-21 | 3 | -67/+89 |
| | |||||
* | start implementing infix | Kartik K. Agaram | 2021-06-21 | 1 | -281/+3 |
| | | | | First step: undo operator support in tokenization. | ||||
* | . | Kartik K. Agaram | 2021-06-20 | 1 | -3/+3 |
| | |||||
* | shell: now no definitions with long lines | Kartik K. Agaram | 2021-06-20 | 1 | -3/+7 |
| | |||||
* | shell: shrink definition widths in a few places | Kartik K. Agaram | 2021-06-20 | 1 | -12/+14 |
| | | | | The only remaining long lines now are in 'pair' and 'with'. | ||||
* | this is how we create aliases | Kartik K. Agaram | 2021-06-20 | 1 | -1/+1 |
| | |||||
* | preserve indentation of the sandbox | Kartik K. Agaram | 2021-06-20 | 3 | -7/+7 |
| | |||||
* | 'with' lets us drop a few more parens | Kartik K. Agaram | 2021-06-20 | 1 | -40/+41 |
| | |||||
* | new macro: with | Kartik K. Agaram | 2021-06-20 | 4 | -4/+66 |
| | |||||
* | new macro: ret | Kartik K. Agaram | 2021-06-20 | 1 | -6/+7 |
| | | | | http://arclanguage.org/item?id=11068 | ||||
* | start dropping parens everywhere | Kartik K. Agaram | 2021-06-20 | 1 | -96/+98 |
| | |||||
* | start guessing parentheses based on indentation | Kartik K. Agaram | 2021-06-20 | 3 | -77/+66 |
| | |||||
* | snapshot | Kartik K. Agaram | 2021-06-20 | 8 | -22/+591 |
| | | | | | This is going better than expected; just 3 failing tests among the new ones. | ||||
* | start emitting indent tokens | Kartik K. Agaram | 2021-06-18 | 5 | -31/+227 |
| | |||||
* | redo next-token in more high-level terms | Kartik K. Agaram | 2021-06-18 | 2 | -73/+95 |
| | |||||
* | . | 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 | 2 | -4/+12 |
| | |||||
* | 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 |
| | |||||
* | make code in Readme easier to copy | Kartik K. Agaram | 2021-06-18 | 2 | -14/+14 |
| | | | | Thanks Sumeet Agarwal for the suggestion. | ||||
* | fix emulated build | Kartik K. Agaram | 2021-06-18 | 1 | -2/+2 |
| | | | | | | | | Embarrassingly broken since May 15 (commit ff8ec9bcff). Thanks Jack Rusher for reporting this. (fixes #48) | ||||
* | shell: stop punning tokens as cells | Kartik K. Agaram | 2021-06-18 | 3 | -89/+116 |
| | |||||
* | Merge pull request #47 from akkartik/fix-precision | Kartik Agaram | 2021-06-17 | 2 | -2/+5 |
|\ | | | | | Fix precision | ||||
| * | create .gitignore | Sumeet Agarwal | 2021-06-17 | 1 | -0/+3 |
| | | |||||
| * | change precision when loading sandbox code | Sumeet Agarwal | 2021-06-17 | 1 | -2/+2 |
|/ |