World: r3wp
[!REBOL3-OLD1]
older newer | first last |
BrianH 22-Sep-2009 [17958] | It doesn't. |
Maxim 22-Sep-2009 [17959] | not with carl's last example and syntax, but using blocks it would... without any lost in capabilities. |
Pekr 22-Sep-2009 [17960x2] | I might agree with Max here -sometimes I prefer already existing syntax being reused, instead of coming-up with additional semantic jumbo-mumbo :-) |
It definitely is not an easy decision. I would proceed as following - take Carl's examples, and try to express/describe them in human words - simply how you would write a manual for them. The look at what you wrote once again, and if you find there is plenty of "either" words, then use it :-) | |
Maxim 22-Sep-2009 [17962] | my point is just that blocks will be used so often anyways, because of recursive rules, that I see no point in using "|" as I say, in every complex parse I've done, I have to separate the "|" by blocks anyways... they just don't roll-back very well in practice. |
Pekr 22-Sep-2009 [17963] | ah, you are a purist, you would remove even | ? :-) |
BrianH 22-Sep-2009 [17964] | Not in R3, they work fine. And any bugs will be fixed. |
Maxim 22-Sep-2009 [17965] | pekr, not in the general rule, cause otherwise we'd need some new word to say "OR" these blocks. |
Pekr 22-Sep-2009 [17966] | The only problem I have with | is where to put it in multi-line rules - end of line, or new line? :-) |
Maxim 22-Sep-2009 [17967x3] | but brian... ALL real parse rules are so complext that we need to properly define the groups of "|" between them... so the point is moot even if they do work better now. |
we still need to put rules in blocks, just about all the time. | |
and now with carl's example this will be even more so. | |
Pekr 22-Sep-2009 [17970x2] | Max - we want to sensibly extend/fix parse, not to break what we are already used to, no?:-) |
5:16 here ... should continue my sleep, I woke up at 3:00, or I will look drunk at work :-) .... | |
Maxim 22-Sep-2009 [17972] | hehe, don't get me wrong, I like that R3 PARSE is finally being addressed... I think carl waited sooo long because he knew there would be a storm about it ;-) |
shadwolf 22-Sep-2009 [17973x4] | i started the port of areatc to rebol 3 ... so far i hate the way to stilize gobs all those words to put every where yeeeeeeeeeeeeerk ... my gob does already more than 10 lines and do nothing on screen !!! |
stylize [ area-tc : [ about: "Area displaying in color keywords in text" facets: [ size: 400x400 max-size: 2000x2000 ] options: [ size: [pairs!] ] faced: [ ] ; internal face funcition: ; events handler actors: [ ] ] ] | |
i ned some help what is the equivalent of init in R3/VID ? and is there a draw: embeded to a gob how can i say my custom face inherits from box style ? | |
found how inheriting box style | |
shadwolf 23-Sep-2009 [17977] | hum apparently text instruction in draw doesn't apply colors ! |
BrianH 23-Sep-2009 [17978] | The R3 equivalent of VID isn't done yet, and some revisions are planned. |
shadwolf 23-Sep-2009 [17979] | hm ? i'm using VID the demo one and i'm not in a good mood !!! What the fuck is that shit is that the improvements i heard about during month and month ? So to be simple and keep my cool i will not port area-tc or viva-rebol to R3 until it's finished |
BrianH 23-Sep-2009 [17980] | The improvements have been to lower-level parts of R3. The work on the GUI made it abundantly clear that the lower levels needed some work. We've been doing that work. Part of that is the parse imoprovements that we're working on right now, which will help with improving the VID dialects. |
shadwolf 23-Sep-2009 [17981] | load-gui ; area-tc stylized gob -custom widget- areatc-obj: context [ stylize [ area-tc: box [ about: "Area displaying in color keywords in text" facets: [ size: 400x400 max-size: 2000x2000 ] options: [ size: [pair!] ] faced: [ ] ; internal face funcition: ; empty draw block ... draw: [ fill-pen red text 20x20 [ "test" ] ] ; events handler actors: [ ] ] ; fin area-tc style ] ; end stylize ]; end areatc-obj view [ area-tc ] to draw in the end a black text over a background default colored with a shape and color i didn't choosed that's not not not cool at all too much code for a useless thing and a wrong result. |
BrianH 23-Sep-2009 [17982] | Carl has some new ideas that will help fix the resize model, and we will be working on those when work on the GUI resumes. |
shadwolf 23-Sep-2009 [17983] | yeah around 2012 and meanwhile I wait ... pfff ok since carl is actually working on parse to make it more friendly to idiots like me I will say i will wait. |
BrianH 23-Sep-2009 [17984x2] | Hew, I've been waiting for the parse enhancements for 5 years, or more recently since November. You won't have to wait that long. |
Hew -> Hey | |
shadwolf 23-Sep-2009 [17986x2] | I'm frustrated max ... i saw carl working on parse i wanted to take that opportinuty to start adapting area-tc to r3 and VID just is unfinished not even exploitable to do a starting of a begining of a test work .... i though text instruction as been reformed last time carl working on GUI and that we could use thing like text pos [ color1 "string1" color2 "string2" color3 '"string3" etc ...] |
but in fact that's the same old draw we had in R2 ... | |
BrianH 23-Sep-2009 [17988] | The Unicode enhancements haven't made it to the GUI yet. We haven't been working on the GUI since spring. |
shadwolf 23-Sep-2009 [17989] | hum apparently the sting arguments in text draw is able to "rejoin" strings given in a block and you can't give strings to text instruction without embeding them to a black |
BrianH 23-Sep-2009 [17990] | It took a while to even propagate the Unicode and moduule changes across the core, let alone the GUI. |
shadwolf 23-Sep-2009 [17991] | yeah ... i believed what people told me you can almost use Vid to do area-tc thing is it's not the case at all ... |
BrianH 23-Sep-2009 [17992] | Oh, which people? Never mind, it doesn't matter. |
shadwolf 23-Sep-2009 [17993x2] | button "Close" [quit] that doesn't work neither ? what i have to do then button "Close" with [actor: [ on-lick: [quit]] ] ? |
ho it's button "close" do [quit] | |
BrianH 23-Sep-2009 [17995] | button "close" quit |
shadwolf 23-Sep-2009 [17996x2] | ok an just to unview the window how can i do ? |
unview self works ? | |
BrianH 23-Sep-2009 [17998] | I don't recall. Henrik? |
Maxim 23-Sep-2009 [17999] | we where not talking about VID... just the gob... and did tell you that unicode was not yet part of the GUI :-) |
BrianH 23-Sep-2009 [18000] | Yead, VID is supposed to make gobs easier to use. Working with gobs directly will be verbose and tricky. |
shadwolf 23-Sep-2009 [18001x2] | yeah but what is the relation betwin the unicode and the fact that text instruction draws a text in black when i request it to be red ? |
brianH that's like every object it's easier only if you know how to fill the proper fields of the object | |
BrianH 23-Sep-2009 [18003] | I expect that the syntax was off. |
shadwolf 23-Sep-2009 [18004x4] | Howerver when you don't know what you can put and what you can skip you end with a ugly code full of useless things |
but i like the draw block in gobs it's more easy to define them than being forced to pass by effect object | |
and the path to acces them is lighter too ... | |
actually VID is pretty unstable in R3 ... it's not hard to make the VM gets a hardcrash ... | |
older newer | first last |