-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: File-based blade styles #211
Comments
While doing this with a parser is indeed the straightforward option, it would take a TON of memory, because every style has to be available for use. In addition, the link between the styles has to be dynamic instead of static. (Think virtual functions) which makes it a fair amount slower than what the statically linked templates we use today. Perhaps another way to do this though, would be to use something like dlopen() to load the styles. The binary files could be built, copied and shared. In fact, we might be able to make the style editor create them directly. |
I was thinking about this more, @profezzorn. Is something like Linux's execute in-place available? IIRC, it effectively What I need to do is really dive into the code to figure this out. |
Short answer is no. |
So much for that shortcut ;-) |
I can hear the complaints about memory use and errors already, so hear me out.
Things that would need to be created:
blade.txt
?Things that would need to be added:
error
style to indicate a failure to parse a blade style profile file - Dirt-simpleBlinking<Red,Black,500,500>
Things that would need to be modified:
error
style should be returned.Most of this is within my ability, but the parser is most definitely not. I'm honestly not sure where to even begin, especially since I write C, not C++ ;-) Definitely willing to learn, but I'd still need pointers on where to start.
The text was updated successfully, but these errors were encountered: