Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

glitchdotcom/RoslynGenerator

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
AST
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Wasabi RoslynGenerator

This is the very back end of the Wasabi-to-C# compiler from Fog Creek Software. It converts a Wasabi abstract syntax tree (AST) into C# code.

The CLR importer, lexer, parser, interpreter, type checker, language runtime, JavaScript generator, and other components of Wasabi are missing.

It is intended to be used as an example for how to write a C# generator using Microsoft Roslyn.

Build the solution in Visual Studio, then run .\Example\bin\Debug\Example.exe from the root of the repository.

A very tiny program will be generated in was_out.

About

A C# code generator using Roslyn, extracted from Wasabi v3.1.0. MIT licensed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages