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.
This commit is contained in:
commit
3cf435b41e
43 changed files with 5528 additions and 0 deletions
56
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
56
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
## Description
|
||||
|
||||
Brief description of what this PR does.
|
||||
|
||||
## Motivation and Context
|
||||
|
||||
Why is this change required? What problem does it solve?
|
||||
If it fixes an open issue, please link to the issue here.
|
||||
|
||||
Fixes #(issue)
|
||||
|
||||
## How Has This Been Tested?
|
||||
|
||||
Please describe the tests that you ran to verify your changes:
|
||||
- [ ] All existing tests pass
|
||||
- [ ] Added new tests for new functionality
|
||||
- [ ] Tested with example programs
|
||||
- [ ] Tested with different input methods (visual, keyboard, ASCII escapes)
|
||||
|
||||
## Types of changes
|
||||
|
||||
What types of changes does your code introduce? Check all that apply:
|
||||
- [ ] Bug fix (non-breaking change which fixes an issue)
|
||||
- [ ] New feature (non-breaking change which adds functionality)
|
||||
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
|
||||
- [ ] Documentation update
|
||||
- [ ] Grammar modification
|
||||
- [ ] New symbol/operator
|
||||
|
||||
## Checklist
|
||||
|
||||
- [ ] My code follows the code style of this project
|
||||
- [ ] My change requires a change to the documentation
|
||||
- [ ] I have updated the documentation accordingly
|
||||
- [ ] I have added tests to cover my changes
|
||||
- [ ] All new and existing tests passed
|
||||
- [ ] I have updated CHANGELOG.md in the Unreleased section
|
||||
- [ ] My changes pass the Fatima Test (understandable by non-English speakers)
|
||||
|
||||
## MPL-Specific Considerations
|
||||
|
||||
### For new symbols/operators:
|
||||
- [ ] Symbol has clear mathematical meaning
|
||||
- [ ] ASCII escape sequence provided
|
||||
- [ ] Added to glyph-escapes.md
|
||||
- [ ] Precedence defined and tested
|
||||
- [ ] Example usage provided
|
||||
|
||||
### For grammar changes:
|
||||
- [ ] No shift/reduce conflicts introduced
|
||||
- [ ] Precedence table updated if needed
|
||||
- [ ] Backwards compatibility maintained
|
||||
|
||||
## Additional Notes
|
||||
|
||||
Any additional information that reviewers should know.
|
||||
Loading…
Add table
Add a link
Reference in a new issue