From 0f7e568341bac71369366e6d24be4431be1cca30 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Thu, 14 Oct 2021 00:36:09 -0700 Subject: [PATCH] WIP - revamp ProgrammingLanguageInterface trait This needs to be able to work smoothly with multiple types --- schala-repl/src/language.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/schala-repl/src/language.rs b/schala-repl/src/language.rs index 754f065..1528ad5 100644 --- a/schala-repl/src/language.rs +++ b/schala-repl/src/language.rs @@ -15,8 +15,16 @@ pub trait ProgrammingLanguageInterface { } } +//TODO this is what I want +/* +struct Options { + lang_options: T +} +*/ + pub struct ComputationRequest<'a> { pub source: &'a str, + //pub options: Options<()>, pub debug_requests: HashSet, }