2024-02-26 20:16:12 +03:00
|
|
|
<?
|
2024-02-26 21:04:47 +03:00
|
|
|
os := import("os")
|
|
|
|
shit := import("./tests/shit.tengo")
|
|
|
|
newVar := "'this is gen shita'"
|
|
|
|
println(shit.some_func())
|
2024-02-26 20:16:12 +03:00
|
|
|
?># The index testing
|
|
|
|
1 + 1 = <? print(1+1) ?>
|
|
|
|
cock <? 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-02-26 21:04:47 +03:00
|
|
|
checking <? printf(newVar) ?>
|
|
|
|
|
|
|
|
## File contents
|
|
|
|
|
|
|
|
<?
|
|
|
|
bts := os.read_file("tests/somefile")
|
|
|
|
printf("%v\n%s", bts, bts)
|
|
|
|
?>
|
|
|
|
|