Add indentation engine and other fixes

This commit is contained in:
2026-01-12 22:48:51 +00:00
parent 9ed640c88e
commit 04cce25bf2
26 changed files with 763 additions and 186 deletions

View File

@@ -102,8 +102,8 @@ local nothing = nil
-- Comments
-- Single line
--[[
Multi-line
comment
Multi-line
comment
]]
-- Strings

View File

@@ -12,6 +12,7 @@ NotImplemented
Ellipsis
__name__ # builtin constant
# ==============================
# Imports
# ==============================
@@ -71,7 +72,7 @@ GLOBAL_VAR = 3
# Builtin variable references
self = "something"
cls = "class"
cls = "dj"
# ==============================
# Control flow

View File

@@ -18,7 +18,7 @@ cjk_samples = [
"測試中文字串",
"한국어 테스트",
"ひらがなカタカナ😀混合",
"大量の文字列🚀🚀🚀",
"大量の文字列🚀🚀🚀"
]
# Ruby regex with unicode