Coder Social home page Coder Social logo

Comments (4)

rhys-vdw avatar rhys-vdw commented on September 25, 2024

Hi @krzkaczor, thanks for your interest.

I think I'd need to see some examples to fully understand the implications. Consider adding some to the README.

Would ts-generator be an alternative to ts-simple-ast? I'm still not completely to grips with the capabilities of ts-simple-ast, as I'm only a few days into this project. I'm new to code generation -- note that I'm just concatenating strings manually at this stage, not constructing an AST.

At the moment I'm just trying to get the project into a working state and validate the concept, so I'd be hesitant to refactor.

from ts-auto-guard.

krzkaczor avatar krzkaczor commented on September 25, 2024

Yeah @rhys-vdw sorry about that, ts-generator is WIP, documentation and readme will appear in next days.

I see that you use ts-simple-ast, I am not sure if it has nice API to work with strings instead of file system.

The premise of ts-generator is to allow to parse ANY file (not only ts) and generate based on that some TS files. In your project you focus explicitly on parsing TS files and I understand that using something like ts-simple-ast is just simpler. So I guess that using ts-simple-ast might be better idea for now. Thanks for your input, maybe in future there is a possibilty to integrate both tools.

from ts-auto-guard.

rhys-vdw avatar rhys-vdw commented on September 25, 2024

I see that you use ts-simple-ast, I am not sure if it has nice API to work with strings instead of file system.

Not sure exactly what you mean here, but it does have a "virtual file system" mode.

from ts-auto-guard.

rhys-vdw avatar rhys-vdw commented on September 25, 2024

Closing for now, let me know when krzkaczor/ts-generator#8 is closed and I'll consider re-opening.

from ts-auto-guard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.