Blurred lines between languages… en route to Code Generation
CodeGen was initially started to create React app / Angular 2 native code from Generic Entities/Models… Swiftly the attention moved to Generation of multi language possibilities. May be already wanted to know it.. if its possible.
Work is still in Progress.. But seems like Swift and Typescript are more or less brothers, may be half-brothers…
WIP: Will Update as I explore more…
RTSCodeGen - An Attempt to generate Typescript Code/Files for React & Angular2 project from Modelsgithub.com
A Todo List Component from Colin Eberhardt.. as my sample
CodeGen - Typescript - generated file
CodeGen — Swift- generated file
CodeGen — source
Once the basics of Typescript was ready and working, it took only half an hour to include Swift code for it. Seems like the language barriers are blurring….