mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-23 11:28:45 +08:00
14 lines
361 B
Plaintext
14 lines
361 B
Plaintext
|
|
# the function print is written by Cpp: std::cout
|
|
# the function input is written by Cpp: std::cin
|
|
# so the code is fake XD but the definitions are of great use
|
|
# the definitions are set to avoid redefinition
|
|
var print=func(args...)
|
|
{
|
|
return __call_cpp_ostream_std_cout(args);
|
|
};
|
|
|
|
var input=func()
|
|
{
|
|
return __call_cpp_istream_std_cin();
|
|
}; |