Commit graph

3 commits

Author SHA1 Message Date
developtheweb
96002ec1bf Make every README claim verifiable and every code block parse
- Rewrite all mpl code blocks in canonical syntax: ✎ output, guarded
  alternatives, f(a, b) calls, -- comments; remove 📤, ternary ?:, %, ∑,
  √, ², |x|, ranges, indexing/slicing and where (deferred to M1, and the
  README now says so explicitly)
- Add DocumentationTest: extracts every fenced mpl block from README.md
  and asserts it parses, preventing future drift
- Replace '1000+ test cases' and 'zero ambiguities' with claims CI
  actually checks (zero ANTLR errors/warnings, 10/10 examples, 200+
  syntax assertions)
- Remove unmeasured performance metrics section
- Mark type checking, code generation and non-escape input methods as
  planned/envisioned rather than existing
- Fix clone URL (github.com/developtheweb/mpl); replace the fictional
  Discord link with GitHub issues
2026-07-09 03:03:52 -04:00
developtheweb@protonmail.com
fa89dafd13 Replace non-existent images with ASCII diagrams
- Removed reference to fatima-test.png
- Replaced transformation-pipeline.gif with ASCII flow diagram
- Replaced input-methods.png with ASCII table showing input methods
- Removed reference to grammar-railroad.svg
2025-07-26 21:30:33 -04:00
developtheweb@protonmail.com
3cf435b41e Initial commit: Mathematical Programming Language (MPL)
A proof-of-concept parser demonstrating that programming languages can be built
entirely from mathematical notation, enabling cognitive universality in computing.

MPL replaces English keywords with mathematical symbols, making programming
accessible to the 80% of humanity who don't speak English. Every design decision
follows the Fatima Test: "Will this make sense to a 10-year-old who doesn't
speak English?"

Current implementation:
- Complete ANTLR 4 grammar with 70+ mathematical operators
- Parser supporting all major programming paradigms
- Zero grammar ambiguities
- ASCII escape sequences for every Unicode symbol

This release contains:
- Core parser implementation
- Grammar specification
- Example programs
- Comprehensive documentation
- Whitepaper outlining the vision

Note: This is a parser-only proof of concept. Programs can be parsed but not
executed. The interpreter and runtime are future work.
2025-07-26 18:39:08 -04:00