World: r3wp
[Rebol School] Rebol School
older newer | first last |
Chris 8-Feb-2009 [1962] | G: there was at least one View-based browser/HTML viewer, but it was one of FrankS's disappearing FX5 scripts. |
DideC 9-Feb-2009 [1963] | I also give it a try. Not really a browser, just an HTML renderer with view/draw. But rendering HTML is a very complex thing to do, especially the layout, tables... So it is only able to render texte styles. |
Henrik 9-Feb-2009 [1964] | In the long run, it's probably better to adopt something like webkit. Creating a good HTML rendering engine is a monstrous task, but I would like to see an extension of the DOC style for good document reading. |
Janko 9-Feb-2009 [1965] | I fully agree wiht Henrik |
DideC 9-Feb-2009 [1966x2] | Yeah, DOC style is a good start. But there are already great things with R2 : remembering HyperNotes (In R2 Desktop, rebol.com, Contest) this is a Makedoc based and rendering is just fine, with links and so on !! |
It could be a good base for a remote Wiki editor. Just add an HTML generator to convert to static pages tree. | |
kib2 11-Feb-2009 [1968x2] | Hi ! |
How could I run a Rebol script from the command line (without using Rebol's own console). I've tried typing : "rebview.ewe myfile.r" (idem with rebcore) form a windows console, but the output disappear instantaneously. | |
Pekr 11-Feb-2009 [1970] | You want output to windows console? I am not sure it is possible with rebol console. It is possible with R3 though. If you want to stop your script, just add "halt" command at the end of your script, it will not close the console ... |
kib2 11-Feb-2009 [1971] | (I'm running under Windows 7) |
Pekr 11-Feb-2009 [1972x2] | Maybe I just don't understand, what you're trying to achieve ... |
also - type >> usage in rebol console to see possible options ... | |
kib2 11-Feb-2009 [1974x2] | Pekr: yes, I want to output to the console. |
But thanks, "halt" solved my problems as I can now launch my script from my editor and watch the Rebol's console output. | |
Janko 11-Feb-2009 [1976x2] | I am not sure if you can run rebol script in "real" console on windos, but on linux you can |
I mean , I didn't see that options on windows | |
kib2 11-Feb-2009 [1978x2] | Janko: it seems to me that it's not possible. |
Can someone help ? I want to know why my second title is not recognized : http://clojurepastebin.appspot.com/1007 | |
Henrik 11-Feb-2009 [1980] | Looks like the rest of the text is handled like one big paragraph. |
kib2 11-Feb-2009 [1981] | Henrik: sure, but why ? |
Henrik 11-Feb-2009 [1982] | I would guess you want a paragraph to be parsed until two newlines occur? |
kib2 11-Feb-2009 [1983] | Exactly! Also, running this snippet in R3 does not bring the same result. |
Henrik 11-Feb-2009 [1984] | I would not trust R3's parse for now. It's buggy and changing. |
kib2 11-Feb-2009 [1985] | ok, and for my paragraphs ? |
Henrik 11-Feb-2009 [1986] | I suggest you take a look at the makedoc parser. it does exactly that. I'm not sure how to solve that problem. |
kib2 11-Feb-2009 [1987] | Ok, thanks for the tip. |
Geomol 11-Feb-2009 [1988] | kib, you write: title: [ 1 6 "=" copy title to newline ] In that, you use the word title for two things, so you destroy your intention. Change one of them to another word (remember to do it again further down your code). |
kib2 11-Feb-2009 [1989] | Geomol: my fault, thanks a lot! I didn't notice I've used "title" for 2 different purpose. Changing the variable name solved the issue. |
Geomol 11-Feb-2009 [1990] | :-) You're welcome! |
kib2 11-Feb-2009 [1991] | I really enjoy playing with Rebol |
Geomol 11-Feb-2009 [1992] | Me 2! |
kib2 11-Feb-2009 [1993] | I mean I never saw something so 1/ simple and 2/ powerful |
Geomol 11-Feb-2009 [1994x2] | You might wanna use TRIM with your titles. |
Neither did all of us here. That's why we use REBOL. | |
kib2 11-Feb-2009 [1996x2] | Ok, I just checked TRIM : that's useful. |
I've somewhat modified the TextMate bundle for REBOL for e TextEditor, and made a new theme for it : http://tinyurl.com/dxt89p. I someone is interested, let me now. | |
Gregg 12-Feb-2009 [1998x2] | I played with the TextMate bundle at one point (when I had a mac running here), and I think Will Arp or Chris Ross-Gill have also done some work on it. |
And, yes, REBOL is wonderfully addictive. :-) | |
Henrik 12-Feb-2009 [2000] | There is a bug in an older version of the textmate bundle, causing textmate to very quickly fill an error log with megabytes of errors. |
kib2 13-Feb-2009 [2001x2] | Help! : how can I use parse to handle this case: a match will starts at "//" only if the char before "//" is not ":" (like in "http:://www...") ? |
Henrik: how do you raise such errors ? | |
Henrik 13-Feb-2009 [2003] | kib2: I never entirely found out, but I think it could have been when it was trying to syntax highlight empty brackets: [] |
kib2 13-Feb-2009 [2004] | Henrik: no problem for me inside eTextEditor. I've also noticed that the textmate bundle missed several keywords (ie the ones from the parse dialect). |
Tomc 13-Feb-2009 [2005] | valid-start-char: complement ":" valid-start: [opt valid-start-char "//"] |
Izkata 14-Feb-2009 [2006] | >> X: complement {:} == " >> length? X == 1 >> X/1 == #" This looks like a bug to me |
Anton 14-Feb-2009 [2007x3] | What version of rebol, on what platform? |
On linux, I get >> x/1 == #"?" | |
Aha. In Rebol3 string! and char! were removed from COMPLEMENT allowed arg types. http://curecode.org/rebol3/ticket.rsp?id=411&cursor=1 | |
Izkata 14-Feb-2009 [2010] | Rebol/View 2.7.6.4.2, on Ubuntu linux |
kib2 14-Feb-2009 [2011] | >> X: complement ":" == "Å" For me : >> length? X == 1 >> X/1 == #"Å" On Windows Seven with RebolView 2.7.6.3.1 |
older newer | first last |