Giter Club home page Giter Club logo

ciltk's People

Contributors

frassle avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

plumpmath

ciltk's Issues

Nuget package

Hi,

can you please also add the needed dependencies for weaving in the nuget package?
FSharp.Core.dll
...

That would be great!

FileNotFoundException

Hi,

Edit:
I tried to compile the ciltk project. The UnitTest project cannot be compiled because of following error (sorry its german):
Unbehandelte Ausnahme: System.TypeInitializationException: Der Typeninitialisier
er für "<StartupCode$Loom>.$Silk.Loom.Parser" hat eine Ausnahme verursacht. --->
System.IO.FileLoadException: Die Datei oder Assembly "FSharp.Core, Version=4.0.
0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" oder eine Abhängigkeit da
von wurde nicht gefunden. Die gefundene Manifestdefinition der Assembly stimmt n
icht mit dem Assemblyverweis überein. (Ausnahme von HRESULT: 0x80131040)
bei <StartupCode$Loom>.$Silk.Loom.Parser..cctor()
--- Ende der internen Ausnahmestapelüberwachung ---
bei Silk.Loom.Parser.get_ptype()
bei Silk.Loom.Reference.ParseTypeReference(Scope scope, String reference) in
D:\ciltk-master\Loom\Reference.fs:Zeile 69.
bei Weave.StackAnalyser..ctor(ModuleDefinition module) in d:\ciltk-master\Rew
riter\StackAnalyser.cs:Zeile 221.
bei Weave.MethodVisitor.Visit(AssemblyDefinition assembly) in d:\ciltk-master
\Rewriter\MethodVisitor.cs:Zeile 26.
bei Weave.Program.Main(String[] args) in d:\ciltk-master\Rewriter\Program.cs:
Zeile 78.

I have installed Visual F# 3.1.2 and Vs 2013.

I dont exactly understand where the error occurs.

Thank you.

Return

Hi,

when do I have to return with:
return Silk.Cil.Peek();

and when with:
Silk.Cil.Ret();

what are the difference?

You used it in OpenTk for example as:

public static Boolean SwapInterval(int interval)
{
Silk.Cil.Ldarg(0);
Silk.Cil.Load(EntryPoints);
Silk.Cil.Ldc_I4(16);
Silk.Cil.Ldelem_I();
Silk.Cil.Calli(CallingConvention.Winapi, typeof(Boolean), typeof(int));
return Silk.Cil.Peek();
}

  • or -

public static Boolean ReleaseTexImage(IntPtr hPbuffer, int iBuffer)
{
Silk.Cil.Ldarg(0);
Silk.Cil.Ldarg(1);
Silk.Cil.Load(EntryPoints);
Silk.Cil.Ldc_I4(13);
Silk.Cil.Ldelem_I();
Silk.Cil.Calli(CallingConvention.Winapi, typeof(Boolean), typeof(IntPtr), typeof(int));
Silk.Cil.Ret();
throw new NotImplementedException();
}

both return a bool? Where are the differences?

Do I always have to get the IntPtr of a string with Silk.Cil.Peek() and convert the IntPtr to a string?

In the wiki I added a list with data types used in arguments and the equivalent usage in the function call. For example
public static int[] Func(IntPtr* p)
{
...
Silk.Cil.Calli(CallingConvention.Winapi, typeof(int_), typeof(IntPtr_));
...
}
Is the list correct?

Thank you.

Not working with roslyn

Hi,

I get an exception when I run the rewriter under visual Studio 2015.
I think this is an roslyn issue. Did you already tested this?

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.