mirror of
ssh://devgit.janware.com/janware/proj/jw-python
synced 2026-06-17 17:26:37 +02:00
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 421ff284cb | |||
| 36aac73b5d | |||
| 751afbe93d | |||
| da6c32255e | |||
| 1259b16837 | |||
| 81ca793a6e |
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| 421ff284cb |
ShuntingYard.py: Improve tokenize() quote handling
Quoted arguments were not grouped into one token, firstly, because the parser didn't pay any attention to them, and secondly, because the data structure carrying the postfixed string converted it back to being a string, not a list, in column 2 of the result table. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 36aac73b5d |
Add Object.py and log.py
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 751afbe93d |
ShuntingYard: Decrease logging
Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| da6c32255e |
Make jwutils.algo.Operator a class
This was a namedtuple before, but I couldn't figure out how to ex-/import it over module boundaries, so I've made it a class. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 1259b16837 |
Re-implement ShuntingYard.infix_to_postfix()
The previous implementation had no concept of associativity. Signed-off-by: Jan Lindemann <jan@janware.com> |
|||
| 81ca793a6e |
Add algo.ShuntingYard
Signed-off-by: Jan Lindemann <jan@janware.com> |