Commit Graph

183 Commits

Author SHA1 Message Date
Brian Picciano
905b182467 gim: make incoming edges separate along the drawn rectangle edge, instead of all overlapping onto the same point 2018-06-02 06:51:53 +00:00
Brian Picciano
ed8fa31104 more notes 2018-03-03 16:15:13 +00:00
Brian Picciano
58c053782e took notes on how compilers compile basic c programs, and how they get run via libc 2018-01-29 14:44:34 +00:00
Brian Picciano
bd650dfc08 implement json marshaling and unmarshaling (TODO needs tests) 2018-01-23 13:32:22 +00:00
Brian Picciano
e52befb7ed refacctor gg to use Value instead of Identifier, which will make serializing more straightforward, and reduces some complexity of the code besides 2018-01-21 15:39:25 +00:00
Brian Picciano
754b75407a integrate constraint engine into determining box positioning 2017-12-03 12:38:53 -07:00
Brian Picciano
79a171323d implement basic constraint engine in gim, which will be used to determine positioning of vertices 2017-11-25 14:33:00 -07:00
Brian Picciano
286c2fbb35 use gg.Str instead of gim.str 2017-11-24 11:05:58 -07:00
Brian Picciano
7c7502b42f move a bunch of code into view, which holds onto a bunch of the drawing logic and settings now 2017-11-23 12:19:32 -07:00
Brian Picciano
f68bb4d8a2 do a lot of work on gim to get it sort of rendering gg.Graphs 2017-11-19 14:39:56 -07:00
Brian Picciano
5ab1d4c7f0 implement gg.Graph.Walk 2017-11-05 09:57:57 -07:00
Brian Picciano
cae3116424 rename gg.HalfEdge to gg.OpenEdge 2017-11-05 09:11:05 -07:00
Brian Picciano
11328fa76c drawing edges in gim, and split out some parts into their own packages 2017-11-04 15:29:15 -06:00
Brian Picciano
b4bf8f6c5a basic box drawing and moving in gim 2017-11-02 16:45:10 -06:00
Brian Picciano
d700390b54 move gg into root, it's not really subject to the lang 2017-11-02 14:59:31 -06:00
Brian Picciano
72099ccf22 some old wip shit 2017-11-02 14:57:57 -06:00
Brian Picciano
305642b5a4 older change to sandbox/graphs.md 2017-11-02 14:57:49 -06:00
Brian Picciano
0b2b53ef56 implement gg.Graph methods Union, DelValueIn, and Values 2017-10-22 11:39:32 -06:00
Brian Picciano
9b577c0df8 initial implementation of immutable Graph 2017-10-21 16:54:40 -06:00
Brian Picciano
d0260a7d68 playing around with the basic definition of graphs 2017-10-07 16:13:48 -06:00
Brian Picciano
e3b997cc7d should probably just commit this shit 2017-07-11 18:52:07 -06:00
Brian Picciano
97f972f287 refactor variable stuff to use fewer op types and be more consistent 2017-02-16 11:37:31 -07:00
Brian Picciano
ea869e7306 write some tests 2017-02-16 10:53:27 -07:00
Brian Picciano
685cde7afb got variable assignment working 2017-02-15 15:41:14 -07:00
Brian Picciano
463d693b17 implement tupElOp and use it in vAsTup 2017-02-15 08:36:23 -07:00
Brian Picciano
c6ce87df84 rename cmd to op in vm 2017-02-15 08:18:19 -07:00
Brian Picciano
3d02b6a591 fix add, clean up main 2017-02-12 11:44:10 -07:00
Brian Picciano
73d81dcbcc refactor to use an interface instead of buildCmd 2017-02-12 11:32:44 -07:00
Brian Picciano
4180e6b072 begin separating types into lang vs vm 2017-02-12 09:53:59 -07:00
Brian Picciano
a5040a6248 attach term Type to values 2017-02-12 08:55:27 -07:00
Brian Picciano
8937201f5c improve how buildCmds are defined 2017-02-11 13:35:02 -07:00
Brian Picciano
54448fda80 taking a new approach using tuples and atoms for compilation, it's working out a lot better 2017-02-11 10:24:02 -07:00
Brian Picciano
b0b5b01fd9 make Tuple compile to a struct 2016-08-21 12:20:07 -06:00
Brian Picciano
066dc257f9 wrote some basic tests for the things I care about so far 2016-08-21 10:36:19 -06:00
Brian Picciano
551c5efd7e don't name function blocks, make build operations immutable 2016-08-20 13:11:25 -06:00
Brian Picciano
867f83377f ensure anonymous ops work 2016-08-20 12:48:14 -06:00
Brian Picciano
f9aec75bf1 implement runtime operations and add a bunch of logging 2016-08-20 12:42:02 -06:00
Brian Picciano
51367a253a implement ctx management macros, and do.... oooooh yeaaaaaah 2016-08-08 19:43:05 -06:00
Brian Picciano
f751924b26 implement List right quick 2016-08-07 09:25:03 -06:00
Brian Picciano
2433e4a175 make Ctx operations immutable 2016-08-07 09:06:46 -06:00
Brian Picciano
ae11b55653 gitignore 2016-08-07 09:06:36 -06:00
Brian Picciano
e868e76627 fix Identifiers so that Tuples can be assigned to them 2016-08-06 18:44:40 -06:00
Brian Picciano
4fc4d48412 fix how Identifiers are evaluated 2016-08-06 18:10:31 -06:00
Brian Picciano
fcdbd3139c get bind working properly 2016-08-06 12:36:46 -06:00
Brian Picciano
38d2d8893b refactor a lot, got recursive statement eval kind of working 2016-08-06 12:20:53 -06:00
Brian Picciano
813117c0f4 refactor to use Build and BuildStmt, remove a buttload of code 2016-08-05 12:34:17 -06:00
Brian Picciano
bdd5711773 comment out a bunch of types I don't feel like supporting right now, and all of the parsing code 2016-08-05 11:50:36 -06:00
Brian Picciano
45ce802b35 LLVMIn/OutType stuff, not sure if I'll keep it 2016-08-05 11:44:12 -06:00
Brian Picciano
3b6fe4fb4a readme.... again 2016-08-05 11:42:07 -06:00
Brian Picciano
09573cf98b make Block implement LLVMVal 2016-08-01 18:08:51 -06:00