Coder Social home page Coder Social logo

Comments (3)

macta avatar macta commented on September 26, 2024

You can of course create a snapshot - but the whole thing feels very tied to Monticello more than it should be.

from tonel.

estebanlm avatar estebanlm commented on September 26, 2024

Not sure I agree with this.
You can use them as standalone... as long as you provide the right parameters (definitions). Or I' missing something?

from tonel.

macta avatar macta commented on September 26, 2024

Revisiting this as I think it could be improved - the problem is that its really tied to writing things to files and not to a WriteStream that a client provides or more easily controls.

If you want to write packages, classes and extensions to something in memory (so you can post them via an http request for example - which is what Exercism needs to do) its a real pain.

methods like: #writeSnapshot:, #writePackage:, #writeClass:, #writeMethodExtensions don't take a write stream you can control easily.

There is "self fileUtils" but its a bit obscure and feels like an afterthought.

For now its easier to subclass TonelWriter and butcher the methods - but I think it could be better (and would make it easier to test, I would imagine).

from tonel.

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.