From 2009792680b17b3ca6777074bc71cfac4f9e0edf Mon Sep 17 00:00:00 2001 From: Thelie Date: Sat, 26 Mar 2022 23:15:57 +0100 Subject: [PATCH] Update 'TODO' Updated the todo list --- TODO | 41 +++++------------------------------------ 1 file changed, 5 insertions(+), 36 deletions(-) diff --git a/TODO b/TODO index 93d8a2b..12832ca 100644 --- a/TODO +++ b/TODO @@ -1,37 +1,6 @@ -# Sing +# Todos -Std -I/o -Negotiator -Generator - -## What is sing meant to be? - -- Provide stdio interface to traits -- not like serde because it's for traits instead of objects -- not like clap since it works at run time, not before -- similar ease of use as both of the above though - -## How to get there - -- Using lalrpop (in a feature flag) -- Maybe utilize serde -- Look at how clap handles states between macro calls - - They operate on a singleton lol - - We should, too - - Providing both a builder and derive interface makes sense - - Needs a list of traits and one for functions - - latter one should be created from the first with a macro - - should provide a method to match a call to these functions - - It should also own (locked) Stdin, Stdout and Stderr (or any one Read and two Write objects) - -## Links oder so lül - -https://serde.rs/impl-serializer.html -https://docs.serde.rs/serde/trait.Serializer.html -https://docs.rs/proc-macro2/1.0.36/proc_macro2/ -https://docs.rs/syn/1.0.86/syn/ -https://github.com/clap-rs/clap/blob/master/src/derive.rs -https://github.com/clap-rs/clap -https://github.com/clap-rs/clap/blob/v3.0.14/examples/tutorial_builder/README.md -https://www.morling.dev/blog/whats-in-a-good-error-message/ \ No newline at end of file +- Create feature flag for the parse mdule +- better error handling in the parser +- Implement checks for existing trait storage files +- Write unit tests \ No newline at end of file