From 7379c469d3e09a8c5e53dca403259f10624abfbc Mon Sep 17 00:00:00 2001 From: Araozu Date: Sat, 16 Dec 2023 20:35:24 -0500 Subject: [PATCH] Small changes --- CHANGELOG.md | 8 ++++---- src/cli/compile.rs | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 83a5b06..6e76821 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,11 +22,11 @@ ## v0.0.9 -- [ ] Hand made CLI, remove clap -- [ ] Compile a single file -- [ ] Implement code generation for ast nodes implemented as of now -- [ ] Display error messages during compilation +- [x] Hand-make CLI, remove clap +- [x] Compile a single file +- [ ] Display error messages during compilation instead of panicking - [ ] Improve errror messages +- [ ] Implement code generation for ast nodes implemented as of now diff --git a/src/cli/compile.rs b/src/cli/compile.rs index 6c63a19..802fdb0 100644 --- a/src/cli/compile.rs +++ b/src/cli/compile.rs @@ -37,7 +37,8 @@ pub fn compile_command(arguments: Vec) { fn compile_help() -> String { format!( - r#"Compile a single file in place. + r#"Compile a single file in place. If the file to compile +references other THP files, they will be (typechecked?) as well. Usage: