Giter VIP home page Giter VIP logo

hemmet's Issues

Generalize the output customization.

For now there is only a couple of preprocessors for some genenerators. But it will be nice to have a way to customize the output: pretty-printing, size of indentation. It can be a mini-language like "key=val,key=val|" that will prepend the template itself.

Add "service blocks" support to BEM backend

Service block example:

<div class="menu">
  <div class="menu-item menu__menu-item">
    <div class="menu-item__label menu-item_disabled_t">
...

Here menu-item is a service block mixed with element.

Add Elm generator

Add Elm generator. It will be perfect if generated code will look like elm-formated one.

Non-closing tags

For some tags like <img/> and <br/> we need to have a way to render them without corresponding closing tags. I see that as an optional / (zero or one) char at the end of the tag name. All the renders should then handle such "flag" appropriately.

Support GHC 9.0 and 9.2

Currently these GHC versions are not supported. That would be nice to have them supported.

Генерировать правильные имена комбинаторов

Если написать имя тега, например:

<:block>span.elem

то получим комбинатор с именем span

span "block__elem" $ pure ()

А надо spanc_. По соглашению, имена функций для генерации тегов состоят из имя_тега <> "c_"

_ из react-flux, а c говорит, что функция принимает аргументом Class.

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.