lugrim / seri Goto Github PK
View Code? Open in Web Editor NEWA way too much over-engineered timetable language compiler
License: Other
A way too much over-engineered timetable language compiler
License: Other
To be able to format descriptions / abstracts, we should parse them as markdown
What would happen if the key is not found in the template ? Can we raise a `TemplateKeyNotFound` error in `templating.rs`
Originally posted by @hugnata in #22 (comment)
For now, it doesn't do anything, we may want to raise an error
We should find a way to distinguish between "event" meaning "the whole thing the calendar is for" and "a single talk/meal/activity"
When present, behaves as it should.
When absent, the program hangs.
Since not everyone is comfortable about giving a talk of english, should we add a field to the seri
language to define the language of a talk ? Similarly to the speakers attribute, the lang attribute would be useful only for talks.
Any opinion on this ?
Maybe in some global metadata or CLI option ?
We could maybe add, in future development, helper functions like:
number_of_days(&self) -> u32
-> Return the number of days the event will lasttime_window_hour(&self) -> (u32, u32)
-> Return a tuple containing the maximal time window the event will span over = (self.up_left.hour, self.down_right.hour)Originally posted by @hugnata in #15 (comment)
This refactoring would help to produce better code
The method apply
in the implementation of CompilationPass
for TikzBackend
is way too long and tries to create the whole latex code in one block. It would be a good thing to separate the different steps into smaller functions. I did it for speaker_string
, but more functions are welcome.
As a first step, it would be nice to add comments in the function to split it into the logical steps. Then, multiple contributors will split it at will. I personally don't understand the big function very well due to its length and gory format.
When building the BoundingBox of events, it appears at latex.rs:77 that the bottom-right bound of the box inherits the month and year of the bottomest-rightest date, but the same operation does not happen when building the top-left bound at latex.rs:66.
Why is it like this? Is it normal?
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.