argotorg / argotorg/act

Further Refine AST

Open
#64 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
279
Forks
51
Avg merge
17h 42m
Merged PRs (30d)
1

Description

The following changes to the AST would proabaly be nice:

- Add a `Contract` type that bundles all constructors / methods / invariants / storage declarations for a particular contract. It would be nice if this had some constraints on the constructors (e.g. only one passing constructor).
- Add a `System` type that is a collection of related contracts. In the future this could perhaps contain system level invariants

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named; start by locating the existing AST definitions and representations for constructors, methods, invariants, and storage declarations. Define the intended boundaries and constraints for Contract and System, then confirm that the AST can represent a contract collection and constructor rules without prematurely adding system-level invariants.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.