mirror of
https://github.com/Reuh/anselme.git
synced 2025-10-27 16:49:31 +00:00
[internal] update notes
This commit is contained in:
parent
b192206de0
commit
2a7e1a4be5
4 changed files with 6 additions and 25 deletions
25
ideas.md
25
ideas.md
|
|
@ -16,15 +16,6 @@ Standard library.
|
|||
- retag/add tags
|
||||
* And in general, clean up everything.
|
||||
|
||||
---
|
||||
|
||||
Default arguments and initial variables values should pass the value check associated with the variable / parameter.
|
||||
Issue: dispatch is decided before evaluating default values.
|
||||
|
||||
---
|
||||
|
||||
Comment syntax, not sure about using -- for inline and /* for multiline.
|
||||
|
||||
# Can be done later
|
||||
|
||||
Translation.
|
||||
|
|
@ -47,17 +38,14 @@ Return system.
|
|||
|
||||
Could be reused for exception handling or other purposes if accessible by the user.
|
||||
|
||||
Also, named break for nested loops.
|
||||
|
||||
---
|
||||
|
||||
Custom function for building text/string interpolation.
|
||||
|
||||
---
|
||||
|
||||
Reduce the number of AST node types ; try to merge similar node and make simpler individuals nodes if possible by composing them.
|
||||
Won't help with performance but make me feel better, and easier to extend. Anselme should be more minimal is possible.
|
||||
|
||||
---
|
||||
|
||||
Static analysis tools.
|
||||
|
||||
To draw a graph of branches, keep track of used variables and prune the unused ones from the Environments, pre-filter Overloads, etc.
|
||||
|
|
@ -79,14 +67,7 @@ Then again, performance has never been a goal of Anselme.
|
|||
|
||||
---
|
||||
|
||||
Macros.
|
||||
|
||||
Could be implemented by creating functions to build AST nodes from Anselme that can also take quotes as arguments.
|
||||
That should be easy, but I don't remember why I wanted macros in the first place, so until I want them again, shrug.
|
||||
|
||||
---
|
||||
|
||||
High concept ideas / stuff that sounds cool but maybe not worth it.
|
||||
High concept ideas / stuff that sounds cool but likely not worth it.
|
||||
|
||||
* Instead of using a bunch of sigils as operators, accept fancy unicode caracters.
|
||||
Easy to parse, but harder to write.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue