{"id":15995328,"url":"https://github.com/ithinuel/async-gcode","last_synced_at":"2025-03-17T15:32:26.324Z","repository":{"id":57499754,"uuid":"142668860","full_name":"ithinuel/async-gcode","owner":"ithinuel","description":"A simple gcode parser written in rust","archived":false,"fork":false,"pushed_at":"2023-12-13T17:09:04.000Z","size":132,"stargazers_count":18,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-28T01:18:35.674Z","etag":null,"topics":["3d-printing","cnc-machine","gcode","parser","rust-lang","stream"],"latest_commit_sha":null,"homepage":"https://crates.io/crates/async-gcode","language":"G-code","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ithinuel.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-28T10:35:29.000Z","updated_at":"2024-10-21T14:11:08.000Z","dependencies_parsed_at":"2024-10-27T15:18:19.496Z","dependency_job_id":"edc12e0e-5b1c-4460-8bf6-1f2661f6e9c9","html_url":"https://github.com/ithinuel/async-gcode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ithinuel%2Fasync-gcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ithinuel%2Fasync-gcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ithinuel%2Fasync-gcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ithinuel%2Fasync-gcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ithinuel","download_url":"https://codeload.github.com/ithinuel/async-gcode/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243869483,"owners_count":20361022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-printing","cnc-machine","gcode","parser","rust-lang","stream"],"created_at":"2024-10-08T07:13:01.188Z","updated_at":"2025-03-17T15:32:25.918Z","avatar_url":"https://github.com/ithinuel.png","language":"G-code","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCode Parser\n\nThis crate aims at providing a gcode parser to the rusty printer project (and other if it can fit).\n\nThe minimal footprint is achieved with all features disabled and is in the order of **~80B** of\nRAM and around **2kB** of Flash memory. The typical set of features\n`[\"parse-trailing-comment\", \"parse-checksum\", \"optional-value\"]` has a footprint of around **4kB**\nof flash memory for around **80B** of RAM.\nFinally with all features, the memory footprint reaches around **7kB** in flash and around **170B**\nin RAM.\n\n## Features\n\n- `std` : Enabled by default\n- `parse-comments` : enables the parser to return `GCode::Comment(String)`; requires an allocator.\n- `parse-trailing-comment`: allows line to end with a `; comment`.\n- `parse-checksum` : Enables the use of xorsum.\n- `parse-parameters` : Enables the use of `#` parameters ; requires an allocator.\n  If `string-value` is enabled then parameters may use string index.\n  If `optional-value` is enabled then parameters value may be omitted but **NOT** the indices.\n- `parse-expressions` : Enables parsing infix expressions ; requires an allocator.\n- `optional-value` : Allows to omit in `RealValue` in word and parameter value positions.\n  Parameter indices cannot be omitted nor can be literals in expressions.\n- `string-value` : Allows `RealValue` to be a string. Any character preceded with `\\` will be\n  used as is (useful for `\"`, `)` or new line).\n\n## Design\n### Constraints\n- No recursion.\n- Reduced RAM footprint\n- Reduced ROM footprint\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fithinuel%2Fasync-gcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fithinuel%2Fasync-gcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fithinuel%2Fasync-gcode/lists"}