Hejsil / Hejsil/mecha

Documentation

Open
#33 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Zig
Stars
609
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Hi

I am very interested in using mecha for a toy language. I have never used a parser combinator before and as such am struggling with how to use it. Is there any documentation or a more robust example of mecha (something like a small language like mini-c, lua etc)?

Or can you point me to any article/tutorial which explains the kind of parser mecha is, with hopefully more examples for me to read through.
I did try to read the through the source, but mecha is super tiny and I am not sure how would I go about crafting a parser using those fundamental building blocks.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the mecha source and identifying the fundamental parser-combinator building blocks the issue says are difficult to use. Done means adding documentation or a robust small-language example that explains what kind of parser mecha is and shows how to build a parser with it.

Written by the indexing model from the issue text.

Assessment

Tech stack
zig
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.