https://github.com/stenbror/pythoncoreframeworkfunctional
https://github.com/stenbror/pythoncoreframeworkfunctional
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stenbror/pythoncoreframeworkfunctional
- Owner: stenbror
- Created: 2022-04-25T17:10:48.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-29T19:53:27.000Z (about 4 years ago)
- Last Synced: 2025-12-27T13:14:49.933Z (6 months ago)
- Language: F#
- Size: 120 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PythonCoreFrameworkFunctional
For now this only support parsing from EvalInput start rule for expression handling in Python 3.10 grammar.
Example:
let node = "a and b or c" |> PythonCoreTokenizer.TokenizeFromString |> PythonCoreParser.ParseEvalInput
Replace code in string with any expressions in Python 3.10 and see the annotated syntax tree with token and trivia.
It will support the whole Python 3.10 grammar with statements and 'match' statement added in 3.10 eventually.