2024-04-25 22:38:04 +03:00
|
|
|
{{
|
2024-02-26 21:04:47 +03:00
|
|
|
os := import("os")
|
|
|
|
shit := import("./tests/shit.tengo")
|
|
|
|
newVar := "'this is gen shita'"
|
2024-04-25 23:27:45 +03:00
|
|
|
pp.println(shit.some_func())
|
2024-04-25 22:38:04 +03:00
|
|
|
}}# The index testing
|
2024-04-25 23:27:45 +03:00
|
|
|
1 + 1 = {{ pp.print(1+1) }}
|
|
|
|
cock {{ pp.print(newVar, "and cock") }}
|
2024-02-26 00:22:09 +03:00
|
|
|
|
2024-02-26 20:16:12 +03:00
|
|
|
## The shit after
|
2024-02-26 00:22:09 +03:00
|
|
|
|
2024-04-25 23:27:45 +03:00
|
|
|
checking {{ pp.printf(newVar) }}
|
2024-02-26 21:04:47 +03:00
|
|
|
|
|
|
|
## File contents
|
|
|
|
|
2024-04-25 22:38:04 +03:00
|
|
|
{{
|
2024-02-26 21:04:47 +03:00
|
|
|
bts := os.read_file("tests/somefile")
|
2024-04-25 23:27:45 +03:00
|
|
|
pp.printf("%v\n%s", bts, bts)
|
2024-04-25 22:38:04 +03:00
|
|
|
}}
|
2024-02-26 21:04:47 +03:00
|
|
|
|