about summary refs log tree commit diff stats
path: root/subx/subx.vim
Commit message (Collapse)AuthorAgeFilesLines
* 4757Kartik Agaram2018-11-201-0/+3
| | | | | | Let's start highlighting all global variables in Red. Assembly programming has a tendency to over-use them. They're a necessary evil, but we should minimize the number of functions that access them.
* 4667Kartik Agaram2018-10-051-0/+2
| | | | | Standardize on hyphens in all names. And we'll use colons for namespacing labels in functions.
* 4523 - Give up on pass-through phasesKartik Agaram2018-08-201-17/+0
| | | | | | | | | | | | | | | | | | | | I'm going to continue using them for now, but I'm fairly certain now that they're just a temporary device to help rapidly-prototype ideas. The reason: there's just too many ways to abuse low-level features, and it ends up taking too much code to disallow things soon after you allow them. New plan: stop trying to write checks, just treat them as temporary conventions for now. Goal is now to just get the core sequence of passes nailed down. Then we'll start reimplementing them from the ground up. First implication of this new plan: ripping out most existing checks. I'm still going to eventually build type checks. But no degenerate checks for code just being too low-level. (This decision is the outcome of a few days of noodling over Forth and https://mastodon.social/@akkartik/100549913519614800.)
* 4512 - divide labels into two categoriesKartik Agaram2018-08-121-0/+7
| | | | | | | | | Targets you can jump to and ones you can call are conceptually disjoint sets. I'm highlighting these in Vim, but it's a pretty complex pattern. Arguably errors shouldn't be highlighted. Only warnings that are easy to be accidentally deployed.
* 4511Kartik Agaram2018-08-121-0/+2
|
* 4505 - start warning on jumps without labelsKartik Agaram2018-08-111-0/+10
| | | | | As we climb the ladder of abstraction we'll gradually pull the ladder up behind ourselves.
* 4479Kartik Agaram2018-08-041-0/+1
|
* 4476Kartik Agaram2018-08-041-0/+2
| | | | Syntax highlighting for dot leaders.
* 4299Kartik Agaram2018-06-301-0/+1
|
* 4295Kartik Agaram2018-06-301-1/+1
|
* 4292 - start a Vim syntax file for our 'language'Kartik Agaram2018-06-301-0/+22
As we add high-level constructs we'll start labeling low-level constructs as unsafe, and highlighting them in red in our editor.