How marcelojtelles/parse-file-sm works
SimpleMarkup is documented as a syntax validator for .sm files. Its intended workflow reads a file, tokenizes its contents into opening-tag, closing-tag, and text tokens, then parses those tokens with a stack to determine whether tags are properly nested and matched. The README describes this architecture and an example main program, but no implementation files are present, so the graph represents documented responsibilities rather than inspected runtime code.
Main entry points: README.md Validator main
Components 7
Other components
- User
- SM file
- Validator main
README.md - Tokenizer
README.md - Token list
README.md - Stack parser
README.md - Syntax result
README.md
Connections 7
- User → Validator main: runs validation
README.md - Validator main → SM file: reads contents
README.md - Validator main → Tokenizer: tokenizes contents
README.md - Tokenizer → Token list: produces tokens
README.md - Validator main → Stack parser: parses tokens
README.md - Token list → Stack parser: supplies input
README.md - Validator main → Syntax result: prints validity
README.md