envlang-csharp/Compilers/JS.cs
Suzanne Soy de12594067 WIP
2020-09-01 06:41:07 +00:00

13 lines
306 B
C#

namespace Compilers {
public class JS {
public static string Compile(Ast.AstNode source) {
return "process.stdout.write(String("
+ "\"no JS for now\""
/* + source.Match(
Int: i => i.ToString(),
String: s => $"'{s.ToString()}'"
)*/
+ "));";
}
}
}