Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simpson-computer-technologies-research/simplc_parser
Parser for my programming language, simp lang (simpl) made in C
https://github.com/simpson-computer-technologies-research/simplc_parser
c parser programming-language simpl
Last synced: 17 days ago
JSON representation
Parser for my programming language, simp lang (simpl) made in C
- Host: GitHub
- URL: https://github.com/simpson-computer-technologies-research/simplc_parser
- Owner: Simpson-Computer-Technologies-Research
- License: mit
- Created: 2023-09-16T15:01:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-16T22:57:58.000Z (over 1 year ago)
- Last Synced: 2025-01-20T05:49:48.096Z (17 days ago)
- Topics: c, parser, programming-language, simpl
- Language: C
- Homepage: https://realtristan.github.io/simplc_parser/
- Size: 73.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# simplc parser ![Stars](https://img.shields.io/github/stars/realTristan/simplc_parser?color=brightgreen) ![Watchers](https://img.shields.io/github/watchers/realTristan/simplc_parser?label=Watchers)
![9a9c2287-434e-4d05-b6c2-aee9e3849904](https://github.com/realTristan/simplc_parser/assets/75189508/4df1cb59-0742-4cb2-b40b-2b9212b1b16f)# About
Simplc parser is a parser for my programming language, simp lang (simpl) made in C. The Typescript version, and complete parser and interpreter, can be found [here](https://github.com/realTristan/simpl)## Example Output
```c
repl initialized. now coding in simpl.>> x + 4
Token (41): [x]
Token (3): [+]
Token (2): [4]
Token (48): [EOF]program: {
type: "0",
body: [
bin_expr {
{
left: {
type: 5
value: "x"
},
op: "+"
right: {
type: 3
value: "4"
}
},
}
]
}
```
# License
MIT LicenseCopyright (c) 2023 Tristan
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.