Skip to content

Auto extern system from C# dlls #1

@SomeRanDev

Description

@SomeRanDev

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 can tell, reading the dlls are pretty easy in C#, wonder if there's anyway to just call a C# program from Haxe macro context to handle everything? Just write C# program that outputs the C# classes info as JSON data, compile for every platform and package it in haxelib? If really wanted to get fancy, implement is as C dll and find way to use that? Hmmmmm

(Before I lose it again, implementation in Haxe's OCaml
https://github.com/HaxeFoundation/haxe/blob/4d9bd89703635716b663fdaaa8557dbe7159f98e/src/codegen/dotnet.ml#L1131)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Maybe TODOFeature that may or may not be implemented

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions