Skip to content

Genesis is an experiment in code generation with Roslyn. It takes an input source file, and will construct a code generator able to produce that file. Functions of this very narrow generator can then be overriden to create a more general code generator.

Notifications You must be signed in to change notification settings

dpetillo/genesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genesis is an experiment in code generation with Roslyn.  

It takes an input source file, and will construct a code generator able to produce that file.  Functions of this narrow generator can then be overriden to create a more general code generator.

This is not a working repo.  Proof of concept was achieved with little usability.  


+-----------------+                                          +--------------------+
|                 |                                          |                    |
|  Code Template  |                                          |    Data (Schema)   |
|                 |                                          |                    |
+--------+--------+                                          +----------+---------+
         |                                                              |
         |                                                              |
  +------v------+        +----------------------------+      +----------v---------+
  |             |        |                            |      |                    |
  |   Genesis   +-------->   Template Code Generator  +------>       General      |
  |             |        |                            |      |   Code Generator   |
  +-------------+        +----------------------------+      |                    |
                                                             +----------+---------+
                                                                        |
                                                                        |
                                                             +----------v---------+
                                                             |                    |
                                                             |   Generated Code   |
                                                             |                    |
                                                             +--------------------+

About

Genesis is an experiment in code generation with Roslyn. It takes an input source file, and will construct a code generator able to produce that file. Functions of this very narrow generator can then be overriden to create a more general code generator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages