https://github.com/stenbror/pythoncorefunctional
https://github.com/stenbror/pythoncorefunctional
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stenbror/pythoncorefunctional
- Owner: stenbror
- Created: 2021-09-13T14:29:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-03T18:05:18.000Z (over 4 years ago)
- Last Synced: 2025-12-26T13:10:44.805Z (6 months ago)
- Language: F#
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PythonCoreFunctional
This is another project of mine to produce a Python parser that is written in a functional style for Python 3.10 grammar using Dot net 6 and ofcourse fsharp language. I am writing the unittests as i implement the code for the parser and each grammar rule can be used as a start rule if you really want to do that. This helps testing each components and does not impact the final products stability when only using start rules allowed in Python.
I am trying to build this parser a little like the Roslyn C# compiler from Microsoft with Nodes, Tokens and Trivias. The idea is to be able to refactor Python code in your own program by using this as a framework for Python.
I have written a lot of different Python Parsers through the times after my master thesis which was Python in C++. This will be the final version, i prommise and it will be in fsharp and dot net only, but i am developing on a Linux Server and Mac M1 notebook, so i am designing it to be multi platform.
To build project, just type: dotnet build
To test project, just type: dotnet test