GithubHelp home page GithubHelp logo

Comments (4)

madstap avatar madstap commented on June 14, 2024 1

I'm thinking that dealing with markups could be made better by:

  • Removing the concept of a markup having a folder. #48
  • Having the parser take a string instead of a reader.
  • Moving the prefixing of local links to the compiler, as a pure function, one of the transformations done on a post.

from cryogen-core.

lacarmen avatar lacarmen commented on June 14, 2024

Sounds like a good idea! The compiler namespace has become quite overgrown as new features were added and I think the three phases that you proposed is a nice, logical way to split all of that up. Perhaps this would a be a good time to take a look at #98 as well. Stasis sounds like a good library to use in Cryogen as well.

Is this something that you're interested in working on?

from cryogen-core.

madstap avatar madstap commented on June 14, 2024

Yeah, I'm interested in working on this.

I could start by refactoring the way cryogen reads files as a relatively self-contained step. I'm thinking that there should be a function called read-markup-dirs that takes a collection of directories and a collection of markups and reads the posts/pages from all combinations thereof, encapsulating reading posts/pages. This would then make both #98 and #48 trivial to implement.

from cryogen-core.

lacarmen avatar lacarmen commented on June 14, 2024

Yeah, I'm interested in working on this.

Awesome!

I could start by refactoring the way cryogen reads files as a relatively self-contained step.

That sounds like a good place to start. There's going to be a lot of code moving around for the full refactor so I definitely want this to be approached in an iterative fashion.

from cryogen-core.

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.