Code Monkey home page Code Monkey logo

jsyntrax's Issues

Feature request: Make title specification possible via spec-File

Feature request:
Make the title (optional) part of the spec-file. Of course, it is possible to write a script, which takes the title from the filename, but not every useful attribute of a title is fine as filename. We like filenames to be short, but titles might sometimes be more verbose. If I work in an editor like Geany, I can configure it, so that it will produce a PNG when I hit the compile button, but the title has to be set manually, which makes it a less productive workflow.

The implementation might use an additional, optional key-value notation in the file, to keep all old spec files compatibel, or use an annotation in the comment section, to create a title.

Title exceeding document boundaries

This is my spec file:
line ('for', '(', loop (opt (opt('Typ'), '/Bezeichner', '=', '/Anweisung'), ","), ';', opt ('/boolscher Ausdruck'), ';', opt (loop ('/Anweisung', ','), ), ')', '/Anweisung')
and this the command to produce an PNG with title (the problem exists with SVG output, too:)
./jsyntrax/target/appassembler/bin/syntrax -title "klassische for-Loop (jsyntrax, cmd-2)" kl-for-loop2.spec -o kl-for-loop2.png

and this the resulting image:
kl-for-loop2

The title starts left of the document and is therefore cut off. I did not change the .ini-files.

Text exceeds box boundaries

This is my spec file:
line ('for', '(', loop (opt (opt('Typ'), '/Bezeichner', '=', '/Anweisung'), ","), ';', opt ('/boolscher Ausdruck'), ';', opt (loop ('/Anweisung', ','), ), ')', '/Anweisung')
And this is the result:
kl-for-loop-untitled
The text in the box "boolscher Ausdruck" exceeds its boundaries. Here is my former result, done with the old python syntrax where this didn't happen:
klassische-for-loop

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.