View Code? Open in Web Editor
NEW
๐บ Maintained set of TON programming language definitions/grammars for Prism.js
Home Page: https://docs.ton.org
License: MIT License
prism-ton's People
Contributors
Stargazers
Watchers
prism-ton's Issues
See: tact-lang/tact#280
Applicable list of changes:
- Fixed precedence levels for bitwise operators, equality and comparisons. Now the precedence levels match common languages like JS/TS.
- Support for string escape sequences:
\\
, \"
, \n
, \r
, \t
, \v
, \b
, \f
, \u{0}
through \u{FFFFFF}
, \u0000
through \uFFFF
, \x00
through \xFF
.
- Bitwise XOR (
^
) operator.
-
try {...}
and try {...} catch {...}
statements.
-
foreach
loop for the Map
type: foreach (k, v in map) {...}
.
- Trailing commas for all comma-separated lists.
With:
- Tact 1.4.0 (#5)
- FunC 0.4.4 (#1)
Although it's used less in TON contexts than TL-B, it's still useful for structuring useful data for communications.
Related links: