1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00
ton/crypto/func
Aleksandr Kirsanov 30572c77d6
[FunC] Support traditional // and /**/ comments
They work alongside Lisp-style ;; and {--}, without any #pragma.
Conceptually, a new syntax should be disabled by default
and activated using a special compiler option.
But now, we don't have an easy way to provide compiler options
in func-js, blueprint, etc.
Note, that introducing per-file #pragma is a wrong approach here,
since if we want to fire human-readable error on using '//' without pragma,
lexer should nevertheless work differently.
(this could be controlled by a launch option, but see above)
2024-06-14 15:22:57 +03:00
..
auto-tests [FunC] Support traditional // and /**/ comments 2024-06-14 15:22:57 +03:00
test Add try/catch to FunC (#560) 2022-12-22 15:26:39 +03:00
abscode.cpp FunC: enable asserts and fix try/catch stack corruption (#699) 2023-05-15 15:31:42 +03:00
analyzer.cpp FunC: enable asserts and fix try/catch stack corruption (#699) 2023-05-15 15:31:42 +03:00
asmops.cpp [FunC] Auto-inline functions-wrappers T f(...args) { return anotherF(...args); } 2024-06-14 15:22:57 +03:00
builtins.cpp [FunC] CMake option -DFUNC_DEBUG for development purposes 2024-06-14 15:22:56 +03:00
codegen.cpp [FunC] Auto-inline functions-wrappers T f(...args) { return anotherF(...args); } 2024-06-14 15:22:57 +03:00
func-main.cpp Make funcfiftlib compilation compatible with modern compilers (#618) 2023-03-09 17:37:15 +03:00
func.cpp [FunC] Auto-inline functions-wrappers T f(...args) { return anotherF(...args); } 2024-06-14 15:22:57 +03:00
func.h [FunC] Auto-inline functions-wrappers T f(...args) { return anotherF(...args); } 2024-06-14 15:22:57 +03:00
gen-abscode.cpp [FunC] Auto-inline functions-wrappers T f(...args) { return anotherF(...args); } 2024-06-14 15:22:57 +03:00
keywords.cpp Add try/catch to FunC (#560) 2022-12-22 15:26:39 +03:00
optimize.cpp FunC: enable asserts and fix try/catch stack corruption (#699) 2023-05-15 15:31:42 +03:00
parse-func.cpp [FunC] Support traditional // and /**/ comments 2024-06-14 15:22:57 +03:00
stack-transform.cpp FunC: enable asserts and fix try/catch stack corruption (#699) 2023-05-15 15:31:42 +03:00
unify-types.cpp [FunC] Auto-inline functions-wrappers T f(...args) { return anotherF(...args); } 2024-06-14 15:22:57 +03:00