1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-12 19:22:37 +00:00
ton/crypto/fift
tolk-vm f0e6470d0b
[Tolk] Rewrite lexer, spaces are not mandatory anymore
A new lexer is noticeably faster and memory efficient
(although splitting a file to tokens is negligible in a whole pipeline).

But the purpose of rewriting lexer was not just to speed up,
but to allow writing code without spaces:
`2+2` is now 4, not a valid identifier as earlier.

The variety of symbols allowed in identifier has greatly reduced
and is now similar to other languages.

SrcLocation became 8 bytes on stack everywhere.

Command-line flags were also reworked:
- the input for Tolk compiler is only a single file now, it's parsed, and parsing continues while new #include are resolved
- flags like -A -P and so on are no more needed, actually
2024-11-02 01:33:08 +04:00
..
lib Add DUEPAYMENT and some others + small fixes of new opcodes (#881) 2024-01-29 16:38:42 +03:00
Continuation.cpp Add namespaces to Fift (#641) 2023-03-10 14:16:29 +03:00
Continuation.h Add namespaces to Fift (#641) 2023-03-10 14:16:29 +03:00
Dictionary.cpp Add namespaces to Fift (#641) 2023-03-10 14:16:29 +03:00
Dictionary.h Add namespaces to Fift (#641) 2023-03-10 14:16:29 +03:00
fift-main.cpp Remove rocksdb usage from fift (#1064) 2024-07-26 22:10:55 +03:00
Fift.cpp Remove rocksdb usage from fift (#1064) 2024-07-26 22:10:55 +03:00
Fift.h Remove rocksdb usage from fift (#1064) 2024-07-26 22:10:55 +03:00
HashMap.cpp Add namespaces to Fift (#641) 2023-03-10 14:16:29 +03:00
HashMap.h Add namespaces to Fift (#641) 2023-03-10 14:16:29 +03:00
IntCtx.cpp Add namespaces to Fift (#641) 2023-03-10 14:16:29 +03:00
IntCtx.h Add namespaces to Fift (#641) 2023-03-10 14:16:29 +03:00
SourceLookup.cpp bugfixes 2020-04-10 23:06:01 +04:00
SourceLookup.h bugfixes 2020-04-10 23:06:01 +04:00
utils.cpp [Tolk] Rewrite lexer, spaces are not mandatory anymore 2024-11-02 01:33:08 +04:00
utils.h [Tolk] Rewrite lexer, spaces are not mandatory anymore 2024-11-02 01:33:08 +04:00
words.cpp celldb in-memory mode, stats for actors, perf counters, minor fix in rldp2 (#1164) 2024-09-23 17:34:37 +03:00
words.h integrating the existing state of TON Storage / TON Payments / CPS Fift development branches 2020-05-27 22:10:46 +04:00