From 3b5ebf92b47b0618ba17533d0a1cac544dfb65d6 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Thu, 21 Oct 2021 10:45:14 -0700 Subject: [PATCH] Some additional notes --- schala-lang/language/src/schala.rs | 1 + schala-repl/src/language.rs | 7 ------- source_files/schala/syntax_playground.schala | 1 + 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/schala-lang/language/src/schala.rs b/schala-lang/language/src/schala.rs index 512d2d8..b80b42e 100644 --- a/schala-lang/language/src/schala.rs +++ b/schala-lang/language/src/schala.rs @@ -152,6 +152,7 @@ fn stage_names() -> Vec<&'static str> { } impl ProgrammingLanguageInterface for Schala { + //TODO flesh out Config type Config = (); fn language_name() -> String { "Schala".to_owned() diff --git a/schala-repl/src/language.rs b/schala-repl/src/language.rs index cd5d28f..d205446 100644 --- a/schala-repl/src/language.rs +++ b/schala-repl/src/language.rs @@ -16,13 +16,6 @@ pub trait ProgrammingLanguageInterface { } } -//TODO this is what I want -/* -struct Options { - lang_options: T -} -*/ - pub struct ComputationRequest<'a, T> { pub source: &'a str, pub config: T, diff --git a/source_files/schala/syntax_playground.schala b/source_files/schala/syntax_playground.schala index 9123962..af9cc47 100644 --- a/source_files/schala/syntax_playground.schala +++ b/source_files/schala/syntax_playground.schala @@ -6,6 +6,7 @@ fn main() { } + @annotations use the @ sigil // variable expressions