https://github.com/dkarter/stl_parser
👓 STL File Parser in Elixir using :leex and :yecc
https://github.com/dkarter/stl_parser
3d-printing elixir parser stl tokenizer
Last synced: about 2 months ago
JSON representation
👓 STL File Parser in Elixir using :leex and :yecc
- Host: GitHub
- URL: https://github.com/dkarter/stl_parser
- Owner: dkarter
- Created: 2019-09-08T02:35:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T04:13:15.000Z (over 2 years ago)
- Last Synced: 2025-02-25T13:54:53.847Z (over 1 year ago)
- Topics: 3d-printing, elixir, parser, stl, tokenizer
- Language: Erlang
- Homepage:
- Size: 3.02 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# StlParser
Parses ASCII STL files into Elixir structs uses Erlang's built-in :leex and
:yecc modules for tokenizing and creating an AST.
## Usage
```elixir
"./sample_files/DuckCallReed.stl"
|> File.read!()
|> StlParser.parse_ascii()
```