Introduction
Introduction Statistics Contact Development Disclaimer Help
Post AbbrXPmOaMfuTsBaV6 by [email protected]
More posts by [email protected]
Post #AbboYvih1BSBy8U7jk by [email protected]
0 likes, 0 repeats
so given that my "write a bison/flex parser for a flag DSL" project h…
Post #AbboYywH396Fx7rVp2 by [email protected]
0 likes, 0 repeats
it's surprisingly simple. You've got a Command, which is one of the fol…
Post #Abbp0GbXTfs2YnAqPY by [email protected]
0 likes, 0 repeats
they mostly have simple fixed lengths. like Rectangle is followed by two Points…
Post #Abbp0JOt5AX7EQHHbk by [email protected]
0 likes, 0 repeats
the only tricky ones are the Polygon ones, which take a color and then a list o…
Post #Abbp0KCA7xwrhFKdPc by [email protected]
0 likes, 0 repeats
and then the file will need a metadata section. Basically just a couple of key-…
Post #AbbpfiuX8k76DvpIp6 by [email protected]
0 likes, 0 repeats
maybe just make new commands for that? like TEXT_LAYOUT/TEXT_SIZE commands that…
Post #AbbpfldH1N5cfGm3pw by [email protected]
0 likes, 0 repeats
This'd let me write a simpler parser that runs on modern systems and compil…
Post #AbbpfmP89RN33hAHQm by [email protected]
0 likes, 0 repeats
this also uplifts some of the "tricky bits" to the bytecode compiler:…
Post #AbbpfnAzHVeTS7YV1c by [email protected]
0 likes, 0 repeats
The way it works is that you're picking a side (left in this case, so the x…
Post #AbbpfnwqPZvtqXwicS by [email protected]
0 likes, 0 repeats
this makes sense when a human is writing flag definitions:You're saying &qu…
Post #Abbpfoj3WKUuG4VDlY by [email protected]
0 likes, 0 repeats
but in the bytecode, none of that matters. it can just hardcode (0,120), becaus…
Post #AbbpfpUueOmKeUtRMO by [email protected]
0 likes, 0 repeats
and when I eventually build SVGAPride or something, I'll be able to reproce…
Post #AbbpfqGPnmmB1p7NOy by [email protected]
0 likes, 0 repeats
even though the "future" I'm talking about is like 1988.
Post #AbbrXPmOaMfuTsBaV6 by [email protected]
0 likes, 0 repeats
@foone and give up the potential for infinitely-sided polygons? 😂
Post #AbbrXPqeKY4sh4Az8C by [email protected]
0 likes, 0 repeats
@atrus you wanna try to render that in a 640x480 at 16 color display?!
Post #Abbs00afJjmGkvKks4 by [email protected]
0 likes, 0 repeats
this kind of decoupling will also make it easier to experiment with more smarts…
Post #Abbs03q1F6qEpPXYie by [email protected]
0 likes, 0 repeats
how many stripes? the compiler can count. How wide are the stripes? the screen …
Post #Abbs04caKXgpG2GLQ0 by [email protected]
0 likes, 0 repeats
this division also makes it easier to do, like, symbolic naming. So the above c…
Post #Abbv73r9s9jym66QnA by [email protected]
0 likes, 0 repeats
@foone You seem to be trying to reinvent SVG. Would you like some help with tha…
Post #Abbv73vPcL8wzI5pQG by [email protected]
0 likes, 0 repeats
@cliffordheath yeah I need SVG but optimized for size (I need my whole program …
Post #AbbzfiLCG4DrzuvrYO by [email protected]
0 likes, 0 repeats
@foone I implemented basically that, in 1994 as part of OpenUI, which ran (e.g.…
Post #AbbzfiPS0FcqD6vGBU by [email protected]
0 likes, 0 repeats
@cliffordheath very cool! right now I'm just hardcoding it as C++ source, b…
Post #Abe0odZJrJnI4cHCxk by [email protected]
0 likes, 0 repeats
@foone recommend taking the color first in all commands.Also, do you have &quot…
Post #Abe0odcre8d6Fbw2UK by [email protected]
0 likes, 0 repeats
@StompyRobot color first makes sense.As for fill/stroke, I handled that by havi…
Post #Abe1aOwPXydibgqxXs by [email protected]
0 likes, 0 repeats
@foone how do you plan to handle palette? Renderer allocates them on the fly ea…
Post #Abe1aP0fIA2gosqMAy by [email protected]
0 likes, 0 repeats
@dryak yeah. The existing code pre-allocates black (because this is for a CRT, …
You are viewing proxied material from pleroma.anduin.net. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.