Skip to content

Proposal: Interactivity akin to Nujan IDE #31

Description

@novusnota

Context

It's often nice to quickly check the outputs, possible errors, boundaries or gas usage of Tact code without writing lots of Jest tests, which slow down the speed of such exploration (IMO). There, https://ide.nujan.io provides a nice experience — contract receivers and get-methods are readily available to interact with, see:

image

Proposal

  • A panel for quick build-deploy cycles using Blueprint+Sandbox or Sandbox only.
  • A symbolic panel or set of buttons to interact with: static functions, receivers, externals, bounced, and get-methods of the contract(s).

OR

  • An extension to the Tact language server, which would allow for semi-arbitrary code execution of given parts of code (get-methods, receivers, etc.) as if Tact is a LISP, i.e. almost have our own REPL.

Suggested solution ideas

We may use @tact-lang/compiler API or tact-lang/tree-sitter-tact to quickly parse necessary parts of the file, then make tiny test wrappers for each to call using Jest & individual test names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions