Timeline for Parsing indented text and inserting its data into a tree
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Sep 23, 2017 at 21:39 | vote | accept | jokoon | ||
| Sep 23, 2017 at 21:23 | comment | added | 200_success | The penultimate line pops items from the stack as necessary, then pushes one name onto the stack. The last line of code produces the (level, name, parent) tuple result for that line of text. | |
| Sep 23, 2017 at 21:20 | comment | added | jokoon | Thanks. Please, could you comment or expand on the 2 last line in parse_tree() ? | |
| Sep 23, 2017 at 20:22 | history | answered | 200_success | CC BY-SA 3.0 |