Giter Site home page Giter Site logo

dooble's People

Contributors

dbrattli avatar erikkemperman avatar mainro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dooble's Issues

Some ideas

So I've been playing around with dooble for a while, really nice work!

I have some ideas, but would like to discuss a bit -- don't want to put too much effort into things that you might not like...

  • On MacOS the default matplotlib is interactive, I think it might be good to default to non-interactive backend.
  • Actually, it might be good to use different backends for different image formats -- I think it would be nice, for example, to use .svg images for the html documentation and .eps images for latex.
  • Can we set the minimum required matplotlib to version 3, since python2 is not supported by dooble anyway?
  • If a large number of marble diagrams are being rendered, things get kind of slow. I think it would be nice to implement a sort of "batch" or "async" mode, using multiple threads and/or processes.

Curious what you think!

Operator description to restrictive

  • dooble version: 0.6.0
  • Python version: 3.7
  • Operating System: OS X

Description

This is a really great project. Trying to use Dooble with F# and the regexp for the description of the operator do not allow chars like -, {and }. But it would be nice to also have e.g /, $, =, % to support other programming languages and their ways of writing lambda expressions.

What I Did

    .. marble::
        :alt: map

        ---1---2---3---4--->
        [ map (fun i -> i*2) ]
        ---2---4---6---8--->

Traceback

Exception occurred:
  File "/usr/local/lib/python3.7/site-packages/tatsu/contexts.py", line 453, in _error
    raise self._make_exception(item, exclass=exclass)
tatsu.exceptions.FailedToken: (2:14) expecting ']' :
[ map (fun i -> i*2) ]
             ^

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.