Commit Graph

159 Commits

Author SHA1 Message Date
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
Brian Picciano
b9a40be6d8 add BUILD file so I remember how 2016-08-01 18:08:18 -06:00
Brian Picciano
6595d291c1 implement basic context 2016-07-28 18:39:18 -06:00
Brian Picciano
63fead5d8b small TODOs 2016-07-28 17:14:33 -06:00
Brian Picciano
f5facb6506 move parsing stuff in expr into its own set of files 2016-07-28 17:10:47 -06:00
Brian Picciano
d48bcf34b8 refactor the Equal method out of the Actual interface 2016-07-28 17:07:04 -06:00
Brian Picciano
9c9c8afb7d get rid of pipe, sorry pipe 2016-07-28 16:23:06 -06:00
Brian Picciano
da0d0dfc18 got macro statements working 2016-07-28 13:57:17 -06:00
Brian Picciano
fd125b3dcd actually connect Expr to llvm somewhat, wrote addExpr 2016-07-24 15:57:48 -06:00
Brian Picciano
b53da9531c implement expr.Macro 2016-07-24 15:04:06 -06:00
Brian Picciano
9f53060b0c refactor expr to remove complexity in individual types 2016-07-24 14:52:15 -06:00
Brian Picciano
b988e22416 implement ParseAsBlock 2016-07-24 12:53:15 -06:00
Brian Picciano
2e76bebab3 fix problem with arrow not connecting if the left side was a tuple 2016-07-23 20:37:10 -06:00
Brian Picciano
09ab9399e5 add err field to exprErr 2016-07-23 20:26:26 -06:00
Brian Picciano
0de50c47ba move expr into its own package, make basic main 2016-07-23 11:06:26 -06:00
Brian Picciano
ec817b58cd better error messages 2016-07-23 10:59:11 -06:00
Brian Picciano
f2986c7a79 implement block comments in the lexer 2016-07-23 10:34:14 -06:00
Brian Picciano
85843cf871 rename types.go to expr.go 2016-07-23 10:19:16 -06:00
Brian Picciano
6fe8a533a2 implement Statement and Block 2016-07-22 15:53:27 -06:00
Brian Picciano
bdcd5f3b95 implement pipe operator 2016-07-22 14:53:04 -06:00
Brian Picciano
76f963694f got basic parsing of single expressions, parenthesis, and tuples done 2016-07-22 14:38:20 -06:00
Brian Picciano
a3602c52a9 moved lexer, made it a lot better 2016-07-06 20:46:49 -06:00
Brian Picciano
b8ef198384 wrote lexer... again. doesn't properly handle strings though 2016-07-05 20:03:04 -06:00
Brian Picciano
4f9baf7514 starting over again. I'm just gonna keep doing this about once a year for the rest of my life 2016-07-01 17:59:13 -06:00
Brian Picciano
2d779f8182 read through everything again, made some small fixes to docs 2015-07-15 20:32:53 -06:00