├── .gitignore ├── LICENSE ├── haxelib.json ├── hxformat.json ├── src └── ammer │ ├── Lib.hx │ ├── Lib.macro.baked.hx │ ├── Lib.macro.hx │ ├── Syntax.hx │ ├── Syntax.macro.hx │ ├── def │ ├── Enum.hx │ ├── Library.hx │ ├── Opaque.hx │ ├── Struct.hx │ └── Sublibrary.hx │ ├── ffi │ ├── Alloc.hx │ ├── Array.hx │ ├── Bool.hx │ ├── Box.hx │ ├── Bytes.hx │ ├── Callback.hx │ ├── Deref.hx │ ├── FilePtr.hx │ ├── Float32.hx │ ├── Float64.hx │ ├── Haxe.hx │ ├── Int16.hx │ ├── Int32.hx │ ├── Int64.hx │ ├── Int8.hx │ ├── Size.hx │ ├── String.hx │ ├── This.hx │ ├── UInt16.hx │ ├── UInt32.hx │ ├── UInt64.hx │ ├── UInt8.hx │ ├── Unsupported.hx │ └── Void.hx │ └── internal │ ├── Ammer.hx │ ├── Bakery.hx │ ├── Config.hx │ ├── Entrypoint.hx │ ├── Fields.hx │ ├── FilePtrOutput.hx │ ├── LibContext.hx │ ├── LibTypes.hx │ ├── Meta.hx │ ├── Reporting.hx │ ├── Types.hx │ ├── Utils.hx │ └── v1 │ ├── AmmerBaked.hx │ ├── AmmerSetup.baked.hx │ ├── LibInfo.hx │ ├── OsInfo.hx │ └── RelativePathsHelper.hx └── test ├── native-gen ├── NativeGen.hx ├── ammer │ └── def │ │ └── Enum.hx ├── common-footer │ └── native.h ├── common-header │ ├── native.c │ ├── native.h │ ├── templates.cpp │ └── templates.hpp ├── make.hxml └── test │ └── Test.hx ├── native-src ├── Makefile.linux ├── Makefile.osx ├── Makefile.win ├── utf8.c └── utf8.h └── src ├── Main.hx ├── def ├── Native.hx └── Templates.hx └── test ├── Test.hx ├── TestArrays.hx ├── TestBytes.hx ├── TestCInjection.hx ├── TestCallback.hx ├── TestConstants.hx ├── TestCpp.hx ├── TestDatatypes.hx ├── TestEnums.hx ├── TestHaxe.hx ├── TestHaxeRef.hx ├── TestMaths.hx ├── TestSignature.hx └── TestStrings.hx /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/LICENSE -------------------------------------------------------------------------------- /haxelib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/haxelib.json -------------------------------------------------------------------------------- /hxformat.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/hxformat.json -------------------------------------------------------------------------------- /src/ammer/Lib.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/Lib.hx -------------------------------------------------------------------------------- /src/ammer/Lib.macro.baked.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/Lib.macro.baked.hx -------------------------------------------------------------------------------- /src/ammer/Lib.macro.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/Lib.macro.hx -------------------------------------------------------------------------------- /src/ammer/Syntax.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/Syntax.hx -------------------------------------------------------------------------------- /src/ammer/Syntax.macro.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/Syntax.macro.hx -------------------------------------------------------------------------------- /src/ammer/def/Enum.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/def/Enum.hx -------------------------------------------------------------------------------- /src/ammer/def/Library.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/def/Library.hx -------------------------------------------------------------------------------- /src/ammer/def/Opaque.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/def/Opaque.hx -------------------------------------------------------------------------------- /src/ammer/def/Struct.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/def/Struct.hx -------------------------------------------------------------------------------- /src/ammer/def/Sublibrary.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/def/Sublibrary.hx -------------------------------------------------------------------------------- /src/ammer/ffi/Alloc.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Alloc {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Array.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/ffi/Array.hx -------------------------------------------------------------------------------- /src/ammer/ffi/Bool.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Bool {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Box.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/ffi/Box.hx -------------------------------------------------------------------------------- /src/ammer/ffi/Bytes.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/ffi/Bytes.hx -------------------------------------------------------------------------------- /src/ammer/ffi/Callback.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/ffi/Callback.hx -------------------------------------------------------------------------------- /src/ammer/ffi/Deref.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Deref {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/FilePtr.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/ffi/FilePtr.hx -------------------------------------------------------------------------------- /src/ammer/ffi/Float32.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Float32 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Float64.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Float64 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Haxe.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/ffi/Haxe.hx -------------------------------------------------------------------------------- /src/ammer/ffi/Int16.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Int16 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Int32.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Int32 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Int64.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Int64 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Int8.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Int8 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Size.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/ffi/Size.hx -------------------------------------------------------------------------------- /src/ammer/ffi/String.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class String {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/This.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class This {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/UInt16.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class UInt16 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/UInt32.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class UInt32 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/UInt64.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class UInt64 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/UInt8.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class UInt8 {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Unsupported.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Unsupported<@:const Expr> {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/ffi/Void.hx: -------------------------------------------------------------------------------- 1 | package ammer.ffi; 2 | 3 | #if !macro 4 | 5 | class Void {} 6 | 7 | #end 8 | -------------------------------------------------------------------------------- /src/ammer/internal/Ammer.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/Ammer.hx -------------------------------------------------------------------------------- /src/ammer/internal/Bakery.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/Bakery.hx -------------------------------------------------------------------------------- /src/ammer/internal/Config.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/Config.hx -------------------------------------------------------------------------------- /src/ammer/internal/Entrypoint.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/Entrypoint.hx -------------------------------------------------------------------------------- /src/ammer/internal/Fields.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/Fields.hx -------------------------------------------------------------------------------- /src/ammer/internal/FilePtrOutput.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/FilePtrOutput.hx -------------------------------------------------------------------------------- /src/ammer/internal/LibContext.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/LibContext.hx -------------------------------------------------------------------------------- /src/ammer/internal/LibTypes.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/LibTypes.hx -------------------------------------------------------------------------------- /src/ammer/internal/Meta.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/Meta.hx -------------------------------------------------------------------------------- /src/ammer/internal/Reporting.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/Reporting.hx -------------------------------------------------------------------------------- /src/ammer/internal/Types.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/Types.hx -------------------------------------------------------------------------------- /src/ammer/internal/Utils.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/Utils.hx -------------------------------------------------------------------------------- /src/ammer/internal/v1/AmmerBaked.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/v1/AmmerBaked.hx -------------------------------------------------------------------------------- /src/ammer/internal/v1/AmmerSetup.baked.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/v1/AmmerSetup.baked.hx -------------------------------------------------------------------------------- /src/ammer/internal/v1/LibInfo.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/v1/LibInfo.hx -------------------------------------------------------------------------------- /src/ammer/internal/v1/OsInfo.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/v1/OsInfo.hx -------------------------------------------------------------------------------- /src/ammer/internal/v1/RelativePathsHelper.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/src/ammer/internal/v1/RelativePathsHelper.hx -------------------------------------------------------------------------------- /test/native-gen/NativeGen.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-gen/NativeGen.hx -------------------------------------------------------------------------------- /test/native-gen/ammer/def/Enum.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-gen/ammer/def/Enum.hx -------------------------------------------------------------------------------- /test/native-gen/common-footer/native.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-gen/common-footer/native.h -------------------------------------------------------------------------------- /test/native-gen/common-header/native.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-gen/common-header/native.c -------------------------------------------------------------------------------- /test/native-gen/common-header/native.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-gen/common-header/native.h -------------------------------------------------------------------------------- /test/native-gen/common-header/templates.cpp: -------------------------------------------------------------------------------- 1 | #include "templates.hpp" 2 | -------------------------------------------------------------------------------- /test/native-gen/common-header/templates.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-gen/common-header/templates.hpp -------------------------------------------------------------------------------- /test/native-gen/make.hxml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-gen/make.hxml -------------------------------------------------------------------------------- /test/native-gen/test/Test.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-gen/test/Test.hx -------------------------------------------------------------------------------- /test/native-src/Makefile.linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-src/Makefile.linux -------------------------------------------------------------------------------- /test/native-src/Makefile.osx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-src/Makefile.osx -------------------------------------------------------------------------------- /test/native-src/Makefile.win: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-src/Makefile.win -------------------------------------------------------------------------------- /test/native-src/utf8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-src/utf8.c -------------------------------------------------------------------------------- /test/native-src/utf8.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/native-src/utf8.h -------------------------------------------------------------------------------- /test/src/Main.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/Main.hx -------------------------------------------------------------------------------- /test/src/def/Native.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/def/Native.hx -------------------------------------------------------------------------------- /test/src/def/Templates.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/def/Templates.hx -------------------------------------------------------------------------------- /test/src/test/Test.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/Test.hx -------------------------------------------------------------------------------- /test/src/test/TestArrays.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestArrays.hx -------------------------------------------------------------------------------- /test/src/test/TestBytes.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestBytes.hx -------------------------------------------------------------------------------- /test/src/test/TestCInjection.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestCInjection.hx -------------------------------------------------------------------------------- /test/src/test/TestCallback.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestCallback.hx -------------------------------------------------------------------------------- /test/src/test/TestConstants.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestConstants.hx -------------------------------------------------------------------------------- /test/src/test/TestCpp.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestCpp.hx -------------------------------------------------------------------------------- /test/src/test/TestDatatypes.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestDatatypes.hx -------------------------------------------------------------------------------- /test/src/test/TestEnums.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestEnums.hx -------------------------------------------------------------------------------- /test/src/test/TestHaxe.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestHaxe.hx -------------------------------------------------------------------------------- /test/src/test/TestHaxeRef.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestHaxeRef.hx -------------------------------------------------------------------------------- /test/src/test/TestMaths.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestMaths.hx -------------------------------------------------------------------------------- /test/src/test/TestSignature.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestSignature.hx -------------------------------------------------------------------------------- /test/src/test/TestStrings.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aurel300/ammer/HEAD/test/src/test/TestStrings.hx --------------------------------------------------------------------------------