Anonymous
7/25/2025, 6:27:55 PM
No.106021097
>>106020998
Sepples could probably convert that into something more pleasant:
int main(argc, argv) {
auto pipeline { ValidateArgs, LoadText, ValidateText, Text2Ast, ValidateAst, Ast2Instrs, ValidateInstrs, ExecInstrs };
for (auto &f: pipeline) f();
return 0;
}
I admit that I do not know how I would mangle the language to achieve this, and I'm not sure whether it's worth the time learning said language.
Sepples could probably convert that into something more pleasant:
int main(argc, argv) {
auto pipeline { ValidateArgs, LoadText, ValidateText, Text2Ast, ValidateAst, Ast2Instrs, ValidateInstrs, ExecInstrs };
for (auto &f: pipeline) f();
return 0;
}
I admit that I do not know how I would mangle the language to achieve this, and I'm not sure whether it's worth the time learning said language.