exokomodo / exokomodo/daybreak

Add test that generates a Daybreak program from AST nodes

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
128: write tests test
Dominant language
C
Stars
10
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Since the AST is a data representation of any valid Daybreak program, a program can be made with the AST types and functions.

The test should be trivial at first and as the AST design settles, we can add more complex examples which demonstrate generating ASTs and compiles the programs from user input or a given spec.

Contributor guide

Open the contributing guide

Research direction

Locate the AST types and functions, then trace the compiler entry point for a program built from them. Add a trivial test that constructs an AST and compiles the resulting Daybreak program; done means the test demonstrates this path and passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
compilers, testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.