diff --git a/README.md b/README.md index 4378de1..9a98f03 100644 --- a/README.md +++ b/README.md @@ -18,17 +18,18 @@ Multivariable Calculus by Stewart. ## Goals - [ ] Create handler function to extract problem request parameters -- [ ] Write a question bank by chapter (separate text files) +- [ ] Write a question bank by chapter (separate functions to build questions on startup) - [x] Write question text parser, -- [ ] Write a number generator for questions ( variables encoded in question text with `{{ }}` potentially?) +- [x] Write a number generator for questions ( variables encoded in question text with `{{ }}` potentially?) - [ ] Port axum to run on [shuttle.dev](https://www.shuttle.dev/) - [ ] Write a front-end page with a basic form that would open a new tab with the pdf requested on [my website](https://tangled.org/sevenpigeons.ca/sevenpigeons.ca) ## Questions -Questions are represented by a `struct` with it's subject, theme, and the text of the question. +Questions are represented by a `struct` with it's subject, theme, text of the questions, array of min/max values for varibales, and the closure expression for the answer. -To parse from string (and text file), first line is the Subject, second Theme, and everything afterwards the text of the question. + +Since there is an `impl Fn` for now the questions cant really be static so need to be created with a function during runtime. ## Fonts