Commit Graph

788 Commits

Author SHA1 Message Date
greg
7f21b70e3f Make REPL interpreter return a value 2018-03-25 00:11:18 -07:00
greg
0b2e2cf68b Kill unused items in schala-repl 2018-03-24 23:28:00 -07:00
greg
1129d97603 Start killing old code in language 2018-03-24 19:02:16 -07:00
greg
e9c538da49 Fix interspersing of newlines in tokenizer infra 2018-03-24 18:38:28 -07:00
greg
3295242115 Show err output when evaluating non-interactively 2018-03-24 17:27:54 -07:00
greg
4bea717e72 Colored repl command output 2018-03-24 15:14:24 -07:00
greg
20f879d68d Hook schala function up to debug booleans
Not sure if I like this API, but eh, it's what I've got
2018-03-24 13:41:54 -07:00
greg
20cf877d21 Add back color 2018-03-24 13:20:10 -07:00
greg
df51a1e04a rename schala_main -> repl_main 2018-03-23 19:04:32 -07:00
greg
1c7574150e Add version string 2018-03-23 18:56:09 -07:00
greg
36b3f58f77 Get rid of all top-level dependencies 2018-03-23 18:48:15 -07:00
greg
f181e2f284 move schala into separate crate 2018-03-23 18:43:43 -07:00
greg
34086b3b2b Color in terminal error output 2018-03-22 03:39:42 -07:00
greg
fd4f5e17df Move robo to separate crate 2018-03-21 01:46:11 -07:00
greg
8ca5a77174 Move rukka to crate 2018-03-21 01:43:43 -07:00
greg
78a250bcba Move maaru into separate crate 2018-03-20 23:29:56 -07:00
greg
31fc751799 Rename schala-lib -> schala-repl 2018-03-20 21:17:46 -07:00
greg
e99479ffcc Removed (for now) LLVMCodeString 2018-03-20 21:13:34 -07:00
greg
6fcc7ded59 new thing compiles 2018-03-20 20:29:57 -07:00
greg
de073a6d9b Switch over schala to new system 2018-03-19 22:57:54 -07:00
greg
638afd47cc Update schala example code 2018-03-17 23:38:37 -07:00
greg
5ab7c2d254 Nested comments 2018-03-17 22:25:43 -07:00
greg
7a606980cb Changing comments to use //, /* 2018-03-17 19:12:58 -07:00
greg
ad8d2b22cd Starting to improve infrastrucutre for lang output
To make repl vs non-repl output better
2018-03-11 14:53:08 -07:00
greg
57f56168c5 Hacky fix for displaying error output non-interactively 2018-03-11 12:56:51 -07:00
greg
64a3705e35 Some changes necessary to handle non-interactive code 2018-03-09 00:50:24 -08:00
greg
7e23e40a2f Eval list literals 2018-03-08 12:42:05 -08:00
greg
4c88a7ada6 Parse list literals 2018-03-08 12:01:24 -08:00
greg
367719d408 Tighten some code 2018-03-08 00:32:19 -08:00
greg
2e80045750 Rename ReplOutput -> LanguageOutput 2018-03-07 22:07:13 -08:00
greg
35c67f73c3 Make directory for schala source files 2018-03-07 21:53:55 -08:00
greg
da9aa1e29d Index evaluation 2018-03-07 21:46:21 -08:00
greg
ca67f9b4fe Proper index exprs 2018-03-06 02:51:45 -08:00
greg
60cce3fe9c Some macro simplifications 2018-03-06 01:31:31 -08:00
greg
4eb22f94d0 Trying to make tests less verbose 2018-03-06 01:06:36 -08:00
greg
355c8170a4 Added test for lambda call 2018-03-06 00:56:19 -08:00
greg
e3671a579d Changed BNF grammar of call statements
To allow calling lambdas
2018-03-06 00:38:33 -08:00
greg
08ca48b2ba lambdas 2018-03-04 02:11:22 -08:00
greg
fea9b9575b Print output of tuples 2018-03-03 13:26:22 -08:00
greg
276dad56d7 Handle tuple literals in type system 2018-03-03 11:55:20 -08:00
greg
695e733584 Sum types in type schema 2018-03-03 11:52:07 -08:00
greg
9bfd751db6 Kill unused import 2018-03-03 11:32:38 -08:00
greg
b058e47d79 Kill some compiler warnings 2018-03-03 00:28:52 -08:00
greg
5be53dc847 Evaluator now only prints when a builtin print is called 2018-03-03 00:25:08 -08:00
greg
a0bea0d55a Kill comments 2018-03-02 23:33:01 -08:00
greg
9747374e8a Fix bug in delimited macro
Had to do with bad strictness testing.
2018-03-02 22:44:17 -08:00
greg
9ab1ca28f8 Improve tokenizer debug output 2018-03-02 22:11:25 -08:00
greg
66cd51a355 Cleanup 2018-03-02 21:59:14 -08:00
greg
1056be12e7 Include line count in token debug 2018-03-02 15:21:48 -08:00
greg
48e7c0be03 Munged types to make tokenizer compile 2018-03-02 15:15:12 -08:00