You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought maybe I could write a macro that would provide a convenient interface to Cairo? Declarative. I understand that the task is not an easy one, but you must agree, it is quite interesting.
The text was updated successfully, but these errors were encountered:
This is an interesting idea, and it is entirely possible within Lisp. In fact, while the Lisp project ecosystem already has various DSLs or sub-languages, such as April and Coalton, designing a language like Nile would require careful consideration of several aspects, such as its syntax, interaction with Cairo and other parts of Lisp. Implementing such a compiler would also involve a substantial amount of work, which I believe may exceed the scope of this project's development. However, if you are able to undertake the design and implementation of such a language, I believe it would be highly welcomed within the Lisp community.
Did you listened about Nile, special language for drawing? The main idea is that when we program in Cairo, we need to find the optimal path for rendering. You need to indicate HOW to draw. Nile's idea is that we describe WHAT needs to be drawn, and the compiler itself looks for an efficient way to do it. At least that's how I understood the articles I read.
https://tinlizzie.org/VPRIPapers/tr2009016_steps09.pdf
https://github.com/damelang/nile/tree/master
http://tinlizzie.org/dbjr/high_contrast.html
I thought maybe I could write a macro that would provide a convenient interface to Cairo? Declarative. I understand that the task is not an easy one, but you must agree, it is quite interesting.
The text was updated successfully, but these errors were encountered: