Added future to Roadmap
This commit is contained in:
parent
d97c203cd3
commit
c885698169
10
README.md
10
README.md
|
|
@ -42,10 +42,15 @@ You can refer to the `example_userfiles` for an idea of what the parser expects
|
|||
- Test configs more in-depth ☐
|
||||
- Test overall site generation ☐
|
||||
- Move the WARNING-level output to INFO for config overwrite ☐
|
||||
- Better error handling ☐
|
||||
- Stack dropping on error ☐
|
||||
- Better context for error messages ☐
|
||||
- Move error context to the calling function ☐
|
||||
|
||||
### V1.0.6
|
||||
- Option to ignore br behavior ☐
|
||||
- Make the default example site way more useful ☐
|
||||
- Add an indentation level to every token for human readability of the final output ☐
|
||||
|
||||
### V1.0.7
|
||||
- Add a way to ignore certain files ☐
|
||||
|
|
@ -58,6 +63,7 @@ You can refer to the `example_userfiles` for an idea of what the parser expects
|
|||
|
||||
### V1.0.9
|
||||
- Add a benchmark ☐
|
||||
- Document the syntax.reparse function and behavior better ☐
|
||||
|
||||
### V1.1
|
||||
- Functioning `table` Token ☐
|
||||
|
|
@ -93,15 +99,17 @@ You can refer to the `example_userfiles` for an idea of what the parser expects
|
|||
- Option to treat some errors as warnings ☐ (Mostly for the parser and context manager)
|
||||
- Option to treat some warnings as errors ☐
|
||||
- Option to change the behaviour of some specific tokens (change br behaviour mainly) ☐
|
||||
|
||||
### V1.1.2
|
||||
- Mark the parsed files with a timestamp or hash in a way that can be used to determine if they have been changed ☐
|
||||
- Option to ignore files that have not been changed ☐
|
||||
|
||||
### V1.2
|
||||
- Check error messages and add a real debug level to parameters ☐
|
||||
- Thouroughly test logging, and error messages for the user ☐
|
||||
- Functioning `blockquote` Token ☐
|
||||
|
||||
### V1.3 ☑
|
||||
### V1.3
|
||||
- Add advanced lookahead logic for `*` ☐
|
||||
- Functioning `lead` Token ☐
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class BaseContainer:
|
|||
self.content = content
|
||||
self.map = {}
|
||||
self.optionals = optionals
|
||||
self.indentation_level = 0 # future: add an indentation level to every token for human readability of the final output
|
||||
self.indentation_level = 0
|
||||
|
||||
def get_content(self, exm, arbitrary_list=None):
|
||||
"""
|
||||
|
|
@ -452,8 +452,8 @@ class ContextManager:
|
|||
self.dict_lookahead = {
|
||||
"list:ulist": ["list:ulist"],
|
||||
"list:olist": ["list:olist"],
|
||||
"table:row": ["table:separator", "table:row"], # future: Implement tables
|
||||
"blockquotes": [], # future: Implement blockquotes
|
||||
"table:row": ["table:separator", "table:row"],
|
||||
"blockquotes": [],
|
||||
"linebreak": ["linebreak"],
|
||||
}
|
||||
self.contextualised = False
|
||||
|
|
@ -572,7 +572,7 @@ class ContextManager:
|
|||
index += lookahead_return[0]
|
||||
line_number += lookahead_return[1]
|
||||
|
||||
# future: advanced lookahead for * logic
|
||||
# FUTURE: Advanced lookahead for * logic
|
||||
# elif token.label in self.dict_advanced_lookahead:
|
||||
|
||||
elif isinstance(token, syntax.FinalSemanticType): # one-liners
|
||||
|
|
|
|||
|
|
@ -115,7 +115,6 @@ class ExportManager:
|
|||
),
|
||||
level='CRITICAL'
|
||||
)
|
||||
# future: allow for template selection
|
||||
optionals = format_optionals(export_request.optionals)
|
||||
|
||||
return start, end, optionals
|
||||
|
|
|
|||
|
|
@ -365,7 +365,7 @@ def reparse(parse_element):
|
|||
:rtype: function
|
||||
"""
|
||||
def _reparse(__, _, tokens):
|
||||
return parse_element.parseString(tokens[0]) # Future: document this behaviour more in-depth
|
||||
return parse_element.parseString(tokens[0])
|
||||
|
||||
return _reparse
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue