Skip to content

antiphp/tsgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsgen

This is the incomplete version of a TypeScript code generator. It converts Go struct definitions into TypeScript interfaces.

What's left to do

  • Parser for a simplified Go AST (Abstract Syntax Tree)
    • Handle embedded structs
  • Tree Shaking of unused types
  • Resolver for getting a TypeScript AST
  • Code generator for TypeScript

and

  • Error handling
  • Linting
  • Tests
  • Examples

About

TypeScript generator for Go structs

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages