about summary refs log tree commit diff stats
path: root/geom.lua
Commit message (Collapse)AuthorAgeFilesLines
* stop pretending globals are localKartik K. Agaram2022-07-111-3/+1
| | | | | One advantage of this approach: we don't end up with multiple lexical scopes containing duplicates of the same modules.
* clean upKartik K. Agaram2022-06-171-10/+0
|
* more precise shape selectionKartik K. Agaram2022-06-171-7/+18
| | | | | | | It's important that the error be additive rather than multiplicative, otherwise the area grows asymmetrically along a line. Hopefully freehand drawings will work more intuitively now.
* correct commit f3abc2cbf2Kartik K. Agaram2022-06-171-2/+0
| | | | | | I can't be trusted to do anything without a test. This should fix #5. Please reopen if it doesn't.
* bugfix: checking if a point is on a manhattan lineKartik K. Agaram2022-05-301-1/+19
|
* rectangle and square shapesKartik K. Agaram2022-05-181-1/+23
|
* split keyboard handling between Text and DrawingKartik K. Agaram2022-05-171-3/+3
|
* several more modulesKartik K. Agaram2022-05-171-0/+131
This is probably not ideal; let's see how it goes..
redoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
c{0: 0 (((1 integer)) <- ((copy)) ((4 literal))) -- nil
c{1: 0 ✓ (((1 integer)) <- ((copy)) ((4 literal)))
c{0: 0 (((fork)) ((f1 fn))) -- nil
c{1: 0 ✓ (((fork)) ((f1 fn)))
cn0: convert-names in f1
cn0: (((1 integer)) <- ((copy)) ((4 literal))) nil nil
cn0: checking arg ((4 literal))
cn0: checking oarg ((1 integer))
maybe-add: ((1 integer))
cn0: convert-names in main
cn0: (((fork)) ((f1 fn))) nil nil
cn0: checking arg ((f1 fn))
cn1: (((1 integer)) <- ((copy)) ((4 literal)))
cn1: (((fork)) ((f1 fn)))
schedule: main
run: main 0: (((fork)) ((f1 fn)))
schedule: done with routine nil
schedule: f1
run: f1 0: (((1 integer)) <- ((copy)) ((4 literal)))
run: f1 0: 4 => ((1 integer))
mem: ((1 integer)): 1 <= 4
schedule: done with routine nil