pc2 / pc2/sus-compiler

Custom compile-time functions (Continuation of #19)

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

Nobody has claimed this yet.

enhancement Language Design
Dominant language
Rust
Stars
126
Forks
6
PR merge metrics
No merged PRs in 30d

Description

  • Updating flattening such that the instructions within const are all generative
  • Updating abstract typecheck to pass over const (not a big deal, since everything's shared in LinkInfo)
  • Updating Execute, such that it can call other execute instances recursively to evaluate constants
  • Updating tree-walk to show the content of const (and maybe struct too, if we're editing that anyhow, most code would be shared)

Contributor guide

Open the contributing guide

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.

Research direction

Start by reviewing issue #19 and the unchecked checklist items in this issue. Trace the Execute entry point for recursive evaluation of constants, then inspect the tree-walk entry point for displaying const contents. Done means both unchecked behaviors work while preserving the completed flattening and typecheck changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.