Skip to content

SharpKit/SharpKit

Repository files navigation

SharpKit

C# to JavaScript Compiler

This repository contains the complete, fully functional source code for SharpKit cross-compiler.

Library definitions, JsClr framework and other useful libraries is at: https://github.com/SharpKit/SharpKit-SDK

Contributing

Maybe you see there are less commits recently. But you can belive us, sharpkit is still activly used in lots of projects. If you want to contribute, feel free to send us a patch of request a project membership.

Most important Task: Every help in replacing NRefactory with Roslyn is very welcome.

Documentation

Link: https://sharpkit.github.io/

Building

An installer is available here: https://github.com/SharpKit/SharpKit/releases, to build from source code follow this:

Windows
git clone https://github.com/SharpKit/SharpKit.git
cd SharpKit
configure
make

This will build a debug version, to build a release version, please use:

make release
Linux
git clone https://github.com/SharpKit/SharpKit.git
cd SharpKit
chmod +x configure
./configure
make
Creating the installer (without publishing a new version)

Verify the VERSION-file in the root directory . Change the Version number if needed. Than:

configure # When you called this already, you do not need to call it again.
cd contrib/installer/
create

The installer will be created in the contrib directory and can be used for windows and linux. Note: If you create the installer on linux, it cannot be used for windows (because some windows-only libaries are missing). You should generate it on windows for better compatibility.

Changes from previous versions

Path-changes wiki page contains changes made to the file system installation of SharpKit from previous versions.