I want to get a UserTalk parser running in C

Open
#310 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c
Domain
compilers

Research direction

Start by reading the YACC grammar in langparser.y from the Frontier source package and the linked UserTalk parser documentation. Compare available parser-generator options and determine how the grammar could be converted to C. Done means having a working UserTalk parser derived from that source, though the issue does not define tests or a more specific completion scope.

Written by the indexing model from the issue text.

Description

A project I'm interested in, and may attempt reasonably soon --

A UserTalk parser, built from the YACC source code in langparser.y in the Frontier source package.

The YACC source can be converted to some other automatic parser generator, from querying ChatGPT on the state of compiler compilers, it seems YACC is no longer in favor.

Here's the ChatGPT conversation.

If you're interested in helping think this through, or want to attempt it yourself, ask questions here. I may post notes as I explore it.

Dominant language
HTML
Stars
134
Forks
10
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from scripting/Scripting-News

All issues in scripting/Scripting-News

Similar issues

More Compilers issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.