Add csharp stuff and merge after the rewrite

* Add csharp, boilerplate + minimal execution
    * Add initial parser
    * Frontend + wasm export of the tree sitter parser
    * Arg spread and use cache
This commit is contained in:
wendrul
2024-12-05 16:28:57 +01:00
parent 96d4af0254
commit f94fed5ee7
51 changed files with 1068 additions and 73 deletions
+1
View File
@@ -583,6 +583,7 @@ async fn create_script_internal<'c>(
|| ns.language == ScriptLang::Deno
|| ns.language == ScriptLang::Rust
|| ns.language == ScriptLang::Ansible
|| ns.language == ScriptLang::CSharp
|| ns.language == ScriptLang::Php)
{
Some(String::new())
+1
View File
@@ -2364,6 +2364,7 @@ async fn tarball_workspace(
ScriptLang::Php => "php",
ScriptLang::Rust => "rs",
ScriptLang::Ansible => "playbook.yml",
ScriptLang::CSharp => "cs",
};
archive
.write_to_archive(&script.content, &format!("{}.{}", script.path, ext))