A Swift library tom generate source code for many languages
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Properties
Tests
.gitignore
Base.swift
CGCPlusPlusCPPCodeGenerator.swift
CGCPlusPlusCodeGenerator.swift
CGCPlusPlusHCodeGenerator.swift
CGCSharpCodeGenerator.swift
CGCStyleCodeGenerator.swift
CGCodeGenerator.swift
CGDelphiCodeGenerator.swift
CGGoCodeGenerator.swift
CGJavaCodeGenerator.swift
CGJavaScriptCodeGenerator.swift
CGObjectiveCCodeGenerator.swift
CGObjectiveCHCodeGenerator.swift
CGObjectiveCMCodeGenerator.swift
CGOxygeneCodeGenerator.swift
CGPascalCodeGenerator.swift
CGSkeletonCodeGenerator.swift
CGSwiftCodeGenerator.swift
CGVisualBasicNetCodeGenerator.swift
CodeDomToCG4.swift
CodeGen4.Cooper.elements
CodeGen4.Echoes.elements
CodeGen4.Toffee.elements
CodeGen4.sln
Codegen4.Shared.elements
Codegen4.Shared.projitems
Expressions.swift
Extensions.swift
LICENSE.md
README.md
Statements.swift
TypeDefinitions.swift
TypeReferences.swift

README.md

CodeGen4

CodeGen4 is an open source cross-platform, language agnostic code generation engine that will drive the future code generation in RemObjects products from RemObjects SDK and Data Abstract to Elements, as well as secondary projects such as Marzipan, Oxidizer and others.

CodeGen4 is designed so that it can easily be expanded to cover additional target languages, with the implementation of one class.

Currently in very early prototype stage, and not ready for consumption, just yet. But feedback and contributions are welcome.

Implemented in Swift with RemObjects Silver.

Platform support:

CodeGen4 can be used on (i.e. linked into tools written for) the following platforms:

  • .NET, Cocoa and Java, via the Elements compiler

Language Support

  • Oxygene (mostly done)
  • C# (RemObjects C# and Visual C#) (mostly done)
  • Swift (Silver and Apple's) (mostly done)
  • Objective-C (incomplete, in progress)
  • Java (missing)
  • Delphi (mostly done)
  • C++ Builder (missing)
  • JavaScript (missing)