atp-mipt / jsyntrax Goto Github PK
View Code? Open in Web Editor NEWReimplement syntrax in Java
Home Page: https://atp-mipt.github.io/jsyntrax/
License: MIT License
Reimplement syntrax in Java
Home Page: https://atp-mipt.github.io/jsyntrax/
License: MIT License
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
The title starts left of the document and is therefore cut off. I did not change the .ini-files.
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:
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:
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.