[generator] Support loading additional grammar files from same package

Open
#83 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
go
Domain
cli, compilers

Research direction

Read the discussion in issue #81 and trace the fastbelt CLI entry-file loading and the code-generator entry points. The issue calls for loading all .fb files in the entry file's package and letting generators handle a collection of grammar files; done means references across those files resolve and all generators accept the collection.

Written by the indexing model from the issue text.

Description

See discussion in #81: The fastbelt CLI should load all .fb files in the same package as the specified entry file. Those shall be used to resolve references to interfaces, rules, etc.

All code generators should be able to handle a collection of grammar files rather than just one.

Dominant language
Go
Stars
33
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

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 TypeFox/fastbelt

All issues in TypeFox/fastbelt

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.