Dev - #7
Merged
Merged
Conversation
Replace string + concat and escaped quotes with backtick templates and interpolation, and switch .concat/.charAt to .cat/.chr. Document under Unreleased. Co-authored-by: Cursor <cursoragent@cursor.com>
Add typ prefix keyword that returns type strings (str/num/bool/obj/arr/nil/und), preserve und vs nil, and cover with typ.test.zv including comparison cases. Co-authored-by: Cursor <cursoragent@cursor.com>
Lower variants to integer discriminants, fix mch targets so ident { is not parsed as a struct literal, and cover qualified/bare arms in enum.test.zv.
Co-authored-by: Cursor <cursoragent@cursor.com>
Emit und as a bitcast sentinel, treat it as falsy in control flow, allow let x = nil|und in the checker, and cover comparisons in und.test.zv. Co-authored-by: Cursor <cursoragent@cursor.com>
Intern sym "key" by string content, rename locals that collided with the new keyword, and extend control_flow tests for els if / nested if. Co-authored-by: Cursor <cursoragent@cursor.com>
Support 123n / BigInt args in self-host, and stop treating ident { as a struct in if/wh/fr conditions so tests can use if a == b.
Lexer support for 123e5 / 1.5E-2 and hex/bin/oct integer literals, with codegen normalizing bases for LLVM.
Release 0.6.0 with IEEE specials and right-associative ** via llvm.pow.f64. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type Inspection Operator (
typ)Enums (
enum)Undefined Literal (
und)Unique Symbol Primitive (
sym)BigInt Primitives (
BigInt/...n)Scientific Exponent Literals (
123e5,1.5E-2)Number Bases (
0x/0b/0o)Special Numbers (
nan,inf/Infinity)Exponentiation (
**)Migrated to self-hosting string to ``
Migrated to Shortform Methods
.concat→ `.cat`, `.charAt` → `.chr`