reflaxe.CSharp
reflaxe.CSharp copied to clipboard
A remake of the Haxe/C# target written entirely within Haxe using Reflaxe.
Enums
How to make enums? Is there a variant type for C#? Would it be appropriate to just store arbitrary data as `object`, then cast upon request if the index matches...
I started working on migrating current code from `DirectToStringCompiler` to `GenericCompiler` as well as make it use a printer instead of simply returning strings as expression. That (unfinished) work is...
## Request ## Add support for the following meta for class access modifiers: `@:file` for `file` `@:internal` for `internal` `@:public` for `public` ## Suggested Syntax ## The syntax could be...
Let's assume we have this Haxe method that has one optional argument followed with a required one: ```haxe function foo(optInt:Int = 4, reqString:String) { // ... } ``` In Haxe...
Null<T>
One of the biggest challenges when it comes to Haxe code generation is the handling of `Null`. My experience is that it's good to get this out of the way...
Not a requirement, but a lot of people would probably expect eventually. Seem like Haxe currently uses a custom ocaml lib, seems like a huge undertaking??? https://github.com/HaxeFoundation/ocamllibs/tree/master/ilib From what I...
Here's a file which I used while initially working on genjvm and later gencil. It gave me a pretty nice workflow: Comment everything out, uncomment something and fix it, repeat....
Nightly issues: ```sh 8-50 8 | import reflaxe.compiler.EverythingIsExprSanitizer; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | Type not found : reflaxe.compiler.EverythingIsExprSanitizer ERROR (macro) /usr/local/lib/haxe/lib/csharp/git/src/cscompiler/components/CSExpression.hx:56: characters 18-43 56 | result = if(!EverythingIsExprSanitizer.isBlocklikeExpr(e)) { | ^^^^^^^^^^^^^^^^^^^^^^^^^ |...
As I've learned that [C# will be dropped from the next major version of Haxe](https://github.com/HaxeFoundation/haxe/issues/5480#issuecomment-2571339358), I wondered if reflaxe support for C# is still being actively pursued here, or if...