All Projects → BaristaLabs → ChakraSharp

BaristaLabs / ChakraSharp

Licence: MIT license
Mono/.NET bindings for ChakraCore

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to ChakraSharp

Cppsharp
Tools and libraries to glue C/C++ APIs to high-level languages
Stars: ✭ 2,221 (+16984.62%)
Mutual labels:  pinvoke, cppsharp
nextjs-todo-app
https://nextjs-todoapp.vercel.app
Stars: ✭ 18 (+38.46%)
Mutual labels:  chakra
personal-website
My personal website, statically generated by Next.js
Stars: ✭ 16 (+23.08%)
Mutual labels:  chakra
yadoms
Yadoms is open source, simple, powerfull, flexible and multiplatforms domotic solution.
Stars: ✭ 56 (+330.77%)
Mutual labels:  cppsharp
Ayase
🥥 Control everything by keyboard. Built for hackers and the blind.
Stars: ✭ 53 (+307.69%)
Mutual labels:  pinvoke
dynamic-interop-dll
Facilities to load native DLLs from .NET. More flexible and hide platform specifics.
Stars: ✭ 31 (+138.46%)
Mutual labels:  pinvoke
GLFW3.NET
Automatic generated bindings of GLFW3 for .NET
Stars: ✭ 28 (+115.38%)
Mutual labels:  cppsharp
CoD-FoV-Changers
Field of view tools for MW2, MW3, and Ghosts
Stars: ✭ 30 (+130.77%)
Mutual labels:  pinvoke
inceptor
Template-Driven AV/EDR Evasion Framework
Stars: ✭ 730 (+5515.38%)
Mutual labels:  pinvoke
Chakracore
ChakraCore is an open source Javascript engine with a C API.
Stars: ✭ 8,600 (+66053.85%)
Mutual labels:  chakra
PyChakra
🔥✨🚀Python binding to Microsoft Chakra JavaScript Engine.
Stars: ✭ 27 (+107.69%)
Mutual labels:  chakra
purity-ui-dashboard
Purity UI Dashboard - Free and Open Source Chakra UI Dashboard
Stars: ✭ 253 (+1846.15%)
Mutual labels:  chakra

ChakraSharp

A quick & dirty pass at generating a ChakraCore P/Invoke layer in C# using CppSharp

Note: ChakraSharpCastXml is an improvement over the approach offered here.

Advantages

  • Generates P/Invoke layer directly from ChakraCore Jsrt headers; any changes and additions made to ChakraCore can be integrated quickly and easily without manual porting
  • Function and parameter descriptions contained in the Jsrt headers are retained and included in the generated cs file.
  • Customization of the generated code can be performed by forking this project and adding/changing the passes.

Instructions

  1. Clone this repo
  2. Clone Microsoft/ChakraCore - you won't need to build Chakra as the headers are used to generate the P/Invoke. In your implementing program you can use the version on NuGet.
  3. Ensure that the path in ChakraShare.CLI/Program.cs points to the path where ChakraCore was cloned.
  4. Build and run ChakraSharp.CLI -- ChakraCore.cs will be generated. Take this file and use it in the application that you'd like to use Chakra in.

For a sample of how to use the generated ChakraCore.cs file, see ChakraSharp-Sample

For a high-level object model, see BaristaCore

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].