summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2025-12-19 21:01:18 -0500
committerLLLL Colonq <llll@colonq>2025-12-19 21:01:18 -0500
commit2dfa52e475fbc5614f92cfbc42d5b25fc5b8eff2 (patch)
tree01109ae3e8748aeb784bdd97925af3e942fde316 /src/main.c
parent8612ca228aacb3e770c485d851c809ddc4a5a7b2 (diff)
Add support for keywords and variadic arguments
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 2ea5ef8..bc697de 100644
--- a/src/main.c
+++ b/src/main.c
@@ -5,9 +5,14 @@
#include <lcq/pit/lexer.h>
#include <lcq/pit/parser.h>
#include <lcq/pit/runtime.h>
+#include <lcq/pit/library.h>
int main(int argc, char **argv) {
pit_runtime *rt = pit_runtime_new();
+ pit_install_library_essential(rt);
+ pit_install_library_io(rt);
+ pit_install_library_plist(rt);
+ pit_install_library_bytestring(rt);
if (argc < 2) { /* run repl */
char buf[1024] = {0};
i64 len = 0;