8000 Build refactor · Issue #1546 · tact-lang/tact · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Build refactor #1546
Open
0 of 1 issue completed
Open
Plan
0 of 1 issue completed
@verytactical

Description

@verytactical

@byakuren-hijiri: Document and refactor the frontend pipeline. Currently, the way the compiler prepares to calling the precompile function is quite convoluted. All the arguments of the functions used before precompile should be documented, we should extract small methods when possible, and document them, to make that API more useful for third-parties.

@byakuren-hijiri: Extract methods from the build function (src/pipeline/build.ts) to make it more modular. We need to separate the build functionality from CLI parsing and use different methods to create context, compile, and precompile. This is important to implement in order to enable third-party tools to hook into the compilation pipeline in the most flexible way. Perhaps, the best way to achieve this functionality is to create the Builder class with public methods defining the pipeline.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: refactoringImprove code readabilitymisc: ecosystemBlueprint, Misti, Verifier, Web IDE, VSCode pluginscope: pipelineStages of Tact compiler: parsing, ..., typechecking, codegen, etc. (src/pipeline)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0