Commit Graph

152 Commits

Author SHA1 Message Date
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
Brian Picciano
17004883e8 more additions to pkgctx 2014-10-24 14:10:07 -04:00
Brian Picciano
84c615ac58 add Traverse to seq 2014-10-24 13:32:28 -04:00
Brian Picciano
024e0d2bec added readme for mathgen 2014-10-23 21:04:58 -04:00
Brian Picciano
583e381ecb make sure mathgen outputs code which passes go fmt 2014-10-23 21:00:07 -04:00
Brian Picciano
f8c841fa99 codegen the math library. that felt gross 2014-10-23 20:46:05 -04:00
Brian Picciano
36afd5fef6 started on core/math.go. It's rough going 2014-10-23 19:55:42 -04:00
Brian Picciano
bf371cf8a9 implemented Empty in seq 2014-10-23 19:25:36 -04:00