fwcd / fwcd/tip

Implement translation to C

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
backend enhancement
Dominant language
Haskell
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

This includes:

- [ ] Adding statements, ... to the C AST (defined in `Tip.Backend.AbstractC`)
- [ ] Implementing pretty-printing with proper indentation for the C AST
- [ ] Implementing the translation to C
- for simplicity, strict evaluation could first be used, until a proper implementation of thunks/graph reduction is in place for lazy evaluation

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the C AST defined in Tip.Backend.AbstractC and map the requested statements and other constructs it must represent. Implement and verify properly indented pretty-printing and translation to C, initially using strict evaluation if needed; done means all listed AST, printing, and translation work is complete.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.