Commit Graph

741 Commits

Author SHA1 Message Date
Greg Shuflin 1470e7fbdd Run cargo fmt 2021-11-24 23:51:30 -08:00
Greg Shuflin 76f7524fdb Thread SchalaConfig for repl/non-repl in runner 2021-10-31 03:30:45 -07:00
Greg Shuflin 61e2acc338 Parameterize compiler Config type 2021-10-14 02:24:42 -07:00
Greg Shuflin 3cbe80e933 Parameterize Repl over language type 2021-10-14 01:28:24 -07:00
Greg Shuflin 7b7e20859f Comment out web interpreter for time being 2021-10-13 01:01:55 -07:00
Greg Shuflin cd4045b8e7 List of paths 2021-10-07 02:19:24 -07:00
Greg Shuflin 6012e8cf9d Refactor main.rs
main.rs controls options, calls into interactive or non-interactive
start function from schala-repl.
2021-10-07 02:10:27 -07:00
Greg Shuflin c92e88900c Update main crate to 2018 edition 2021-10-07 01:30:30 -07:00
greg ca37e006b9 Fix some dyn's 2019-06-21 02:01:46 -07:00
greg 375db28ebb Remove support for non-Schala languages
I may come back to these, but not until after Schala is much better
developed
2019-03-14 01:04:46 -07:00
greg 1622a6ce44 Grand culling
Deleting a bunch of old code related to the old way the interpreter
worked
2019-03-14 00:51:33 -07:00
greg 8d8d7d8bf8 More misc changes including edition 2018 2019-03-12 02:39:25 -07:00
greg 981d4f88bf Changes 2019-03-12 01:14:41 -07:00
greg e1398bd063 rename schala_main -> repl_main 2018-07-26 00:52:45 -07:00
greg 7592209cdb Get rid of all top-level dependencies 2018-07-26 00:52:45 -07:00
greg 6f43c3b81d move schala into separate crate 2018-07-26 00:52:45 -07:00
greg 6bd3ed7b65 Move robo to separate crate 2018-07-26 00:52:45 -07:00
greg 8f19f2e414 Move rukka to crate 2018-07-26 00:52:45 -07:00
greg 5f279cb400 Move maaru into separate crate 2018-07-26 00:52:45 -07:00
greg 795b4adc6b Rename schala-lib -> schala-repl 2018-07-26 00:52:45 -07:00
greg 9d4082463a Removed (for now) LLVMCodeString 2018-07-26 00:52:45 -07:00
greg 43ade31f3e new thing compiles 2018-07-26 00:52:45 -07:00
greg 9f2fbda31f Switch over schala to new system 2018-07-26 00:52:45 -07:00
greg 95a2620754 Nested comments 2018-07-26 00:52:45 -07:00
greg e67b22d109 Changing comments to use //, /* 2018-07-26 00:52:45 -07:00
greg f56d7120c4 Hacky fix for displaying error output non-interactively 2018-07-26 00:52:45 -07:00
greg b54c71633c Eval list literals 2018-07-26 00:52:45 -07:00
greg 1eeafb80dc Parse list literals 2018-07-26 00:52:45 -07:00
greg 59d621ed75 Tighten some code 2018-07-26 00:52:45 -07:00
greg 76fadf0701 Rename ReplOutput -> LanguageOutput 2018-07-26 00:52:45 -07:00
greg a0bb2837c1 Index evaluation 2018-07-26 00:52:45 -07:00
greg a4dd492c26 Proper index exprs 2018-07-26 00:52:45 -07:00
greg d0b6840670 Some macro simplifications 2018-07-26 00:52:45 -07:00
greg b65eb0e459 Trying to make tests less verbose 2018-07-26 00:52:45 -07:00
greg 3f1e83dfda Added test for lambda call 2018-07-26 00:52:45 -07:00
greg 5ddfc132e7 Changed BNF grammar of call statements
To allow calling lambdas
2018-07-26 00:52:45 -07:00
greg f1f7f43e20 lambdas 2018-07-26 00:52:45 -07:00
greg 86d9e90e7c Print output of tuples 2018-07-26 00:52:45 -07:00
greg a7672171a6 Handle tuple literals in type system 2018-07-26 00:52:45 -07:00
greg 08e10739e5 Sum types in type schema 2018-07-26 00:52:45 -07:00
greg a300f78e19 Kill unused import 2018-07-26 00:52:45 -07:00
greg 0423017125 Kill some compiler warnings 2018-07-26 00:52:45 -07:00
greg 8ef5a28aff Evaluator now only prints when a builtin print is called 2018-07-26 00:52:45 -07:00
greg a92a2e4454 Kill comments 2018-07-26 00:52:45 -07:00
greg 8d79074ea9 Fix bug in delimited macro
Had to do with bad strictness testing.
2018-07-26 00:52:45 -07:00
greg 4e7806d053 Improve tokenizer debug output 2018-07-26 00:52:45 -07:00
greg 507e0b7255 Cleanup 2018-07-26 00:52:45 -07:00
greg 9b760244d5 Include line count in token debug 2018-07-26 00:52:45 -07:00
greg 88e027f536 Munged types to make tokenizer compile 2018-07-26 00:52:45 -07:00
greg 2e41f8ffe3 SOme work
WIP
2018-07-26 00:52:45 -07:00