Skip to content

Otto cleaner#26

Merged
qui3xote merged 44 commits into
devfrom
otto_cleaner
Feb 9, 2022
Merged

Otto cleaner#26
qui3xote merged 44 commits into
devfrom
otto_cleaner

Conversation

@qui3xote
Copy link
Copy Markdown
Owner

@qui3xote qui3xote commented Feb 9, 2022

Large refactoring of class APIs for more maintainable code
Implemented tests across most classes.
Language features now highly consistent (of course, bugs may remain).

Deleted old expressions file
Split interpreter into smaller parts. Pass pieces to OttoContext.
Input class now handles most of the var/entity parsing and evaluation so 
commands don't have to think about it.
"value" renamed to _value. Classes should never call .value except on 
themselves.
Slight rework of Command class to allow setting of static kwargs more 
easily.
ExampleInterpreter removed entirely
Also started linting parser_definitions for better readability.
Triggers now return a flat list of dictionaries.
@qui3xote qui3xote merged commit f6be9fe into dev Feb 9, 2022
@qui3xote qui3xote deleted the otto_cleaner branch March 4, 2022 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant