Skip to content

Emit strings and numbers as lang.ast.nodes.Scalar#62

Open
thekid wants to merge 2 commits into
masterfrom
refactor/scalar
Open

Emit strings and numbers as lang.ast.nodes.Scalar#62
thekid wants to merge 2 commits into
masterfrom
refactor/scalar

Conversation

@thekid

@thekid thekid commented Jun 20, 2026

Copy link
Copy Markdown
Member

These changes are necessary in the compiler:

  • emitString(), emitHeredoc(), emitInteger(), emitDecimal() implementations
  • Checking for instanceof Scalar in isConstant() and EmulatePipelines

These changes can be made in reflection to optimize:

  • string(), heredoc(), integer() and decimal() methods in lang.meta.SyntaxTree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant