« first day (2341 days earlier)      last day (1439 days later) » 

12:02 AM
I'd like help to tell us where in the source code a word has been defined.
If you want to scrape the source code, then you could add that too
 
 
1 hour later…
1:11 AM
:36364180 whatsapp?
 
Gimme two secs you harsh taskmaster! :)
@GrahamChiu Missing: ampersand "&", lowline "_", apostrophe "'", back-tick "`", tilde "~", circumflex "^", and period "."
 
@MarkI do you have examples of rebol words with these?
I'd like to see how R3a help manages these
 
@GrahamChiu There are Rebol functions with '~', right? and~ or~
 
@rgchris but they're legal in urls?
 
Yes.
 
1:20 AM
https://github.com/gchiu/reboldocs/blob/master/and~.MD
 
Oh, right, yes.
 
so they don't need transformation
 
Oh ..
Nah, that's okay
 
2:07 AM
In R2: apostrophe find' period rebol.com In R3A: ampersand & In Ren-C: lowline _ However: we should allow all (in my Missing list) in future Rebol words, as well as allowing future url processing scripts to appropriate or further restrict non-alphanumeric usage, IMSHO of course.
 
@MarkI Currently we are only providing help for functions
 
User functions? Extension functions? Fork functions? Future functions?
 
There's too much work to do values, datatypes
 
I am only talking words! :) :) :)
 
I'm talking sentences
 
2:10 AM
lowline "_" is still a word in Ren-C, although it cannot be loaded currently
@GrahamChiu Good one. You forgot the period. :)
 
@MarkI , but you can do the PR yourself.
 
Again, smiley. I just wanted to put it into this chatroom record, forgive me.
 
@MarkI if you think it's important, do the PR
 
I think it is as important as putting it into this chatroom record provides.
 
@MarkI we need to wikify what's important
Or raise it as an issue to discuss
 
2:13 AM
@GrahamChiu Agreed 100%. But we don't need to wikify the rules of wikification. :)
 
@MarkI because they're already wikified?
 
Is that pre-wikified or post-wikified? I can't tell ... :)
 
@MarkI somewhere between
 
@GrahamChiu not much far -- I switched to webserver as a base for a GUI
 
@giuliolunati Ok, well if qt-lite makes it to Android, we might be able to do widgets again
 
2:20 AM
@GrahamChiu Would be great.
 
yeah.. just need to keep bugging @HostileFork to build ren-garden again, and throw in a few widgets for us :)
 
I've read somewhere new rebol versions and successful innovations are caused by flame wars? ;P these differences might have a benefit in the end.
Doc is more willing to take risks.. I'll just see how it goes. But I've noted your concern. We shall see if I get bitten :p
@giuliolunati do you have instructions for a newcomer to rebol android? To setup your build
@giuliolunati If you have how you got here (webserver as a base for a GUI) documented somewhere, would be useful..
 
2:41 AM
@RebolBot sl4abox
 
@GrahamChiu SL4Abox apk
 
@GeekyI try that apk
@GeekyI I don't think we need wars to spur innovation!
 
@GrahamChiu already on it!
Well, I don't know how to proceed next.. SL4A shows me a Scripts header with under it "No matches found."
 
hang on
I see something very different
 
2:56 AM
Searching for sl4a on this chat and reading
@GrahamChiu Definitely not what I see.. maybe my phone model?
 
I just click on Rebol webserver
 
I think it's arm64
 
and then I can access sl4a on my phone from my PC
@GeekyI shouldn't matter
it's the android version presumably that's important?
 
Oh, I have SL4A r6x03, while you have r6x11
 
@GeekyI it's supposed to install the sl4a for you
 
2:59 AM
Sorry, I think wrong binary, same site, different version giuliolunati.altervista.org/r3
SO sorry, let me try your link
 
@RebolBot who is @giuliolunati
 
@GrahamChiu Sorry, I don't know anything about giuliolunati yet. But ...
 
Oh well, it's 5 am for him
 
It looks like it's designed to download a rebol binary on start, which was the cause.. my new Android 6 with MIUI "firewalls" internet connection for each app
And network ain't fast where I am so.. might take a while
 
@GeekyI where is that?
I have MIUI on my Xiaomi 4c ... not sure I like it
I'm using it on stock android
 
3:10 AM
@GeekyI sorry, I must remove that old link...
 
Middle of nowhere :-p almost literally in the middle of an ocean.. it doesn't help I have the slowest internet package
 
@giuliolunati hah, woke you up!
 
@giuliolunati :)
 
Insomnia
 
@GrahamChiu Not at that level yet.. only changed the launcher right now (txt-ui, kiss launcher, not settled on anything)
@GrahamChiu Ok, I have all except Vim now.. is that done?
 
3:12 AM
@giuliolunati Can you tell rebolbot who you are @rebolbot save my details url! "saves your details with url"
@GeekyI @giuliolunati should answer that. Vim only appeared later
@GeekyI anyway you should be able to launch the web server
as long as you're not firewalling all ports
 
I think so, am able to run the console
 
@GeekyI Go in kbox shell -> kpkg -i ncurses; kpkg -i vim; kpkg -i vimrc
2
 
could well be I did all that stuff too :(
 
Am I supposed to get logs? I get blank on running the web server:
Mar 13 at 0:45, by giuliolunati
@GrahamChiu Rebol WebServer set up. Disinstall+reinstall sl4abox -> choose "Rebol WebServer" -> a log window appears. Then test with browser: app filetree; remote url example; sl4a makeToast example
It works, browser is stupid
 
pretty cool.. control the phone from browser
 
3:21 AM
@GeekyI @GrahamChiu rebol webser supports rebol scripts instead of php -- also understand REM (a rebol markup dialect Lest-like)
 
do you have any documentation?
 
The last 2 examples above simply redirect to that webpage?
 
@GeekyI it runs the code at those pages
http://giuliolunati.altervista.org/sl4abox/make-toast.reb?put-here-your-text
import 'android
func [request [map!]] [
	r: request/query-string
	android makeToast r
]
; vim: syn=rebol sw=2 ts=2 sts=2:
 
@GrahamChiu That I get displayed in my browser..
 
@GeekyI the web server is supposed is read that code and execute it
do see something pop up on your android screen?
 
3:28 AM
makeToast is a notification right?
 
well, the "put-here-your-text" message just flashes up only for a second on the screen
Maybe a better example is one where the requester requires user intervention
 
Now I get an error.. anyway, I should in principle be able to host my own server right thinking face
 
@GeekyI well, it works for me .. n=2 now
the server is based on @rgchris's shttpd scheme
@GeekyI if you browse to the phones ip address on port 8888 you should see a directory listing
 
@GrahamChiu Yep can see that
Got cheyenne up and running!
 
@GeekyI eh? on your phone?
 
3:43 AM
Not on my phone that is..
 
So, this works for me http://192.168.1.7:8888/make-toast.reb?hello-red!
a notification appears on my phone at ip of 192.168.1.17
@GeekyI well, part of the reason for red was so that cheyenne could be enhanced!
but running it on rebol3 on a phone would be a bit tricky since it's a different port model
 
 
1 hour later…
5:05 AM
@GrahamChiu is make-toast.reb in your phone, or using a local server?
 
@GeekyI I presume it's on the phone
 
@GrahamChiu If it is, I can't find it
 
isn't there a file there in the directory?
It shows up in the directory listing via the web browser
 
Not sure which directory you're talking about
 
@GeekyI The image link I put up before
 
5:16 AM
Not there
 
so what do you see when you browse to ip-of-phone:8888 ?
 
No .reb files
Standard linux file system
kbox-installer.sh
kbox.tgz
Makefile
r3XXX.deb
run_pie
setup
Vim is saving files alright.. just not sure where
 
well, I see the cgi scripts
but then, mine might be a lot different due to age
does the make toast! work?
I didn't look closely but I assumed that the web server was reading the cgi script remotely and executing it .. sounds dangerous but it's just testing.
I just checked again .. make-test.reb is in the root when I login using the console
 
5:38 AM
@GrahamChiu Finally! Yes, got it to work.. (network timeout, having problems on my end)
 
@GeekyI have you considered moving to land?
 
Vim saves files under sdcard/sl4a by default. But rebolserver runs from root eh?
@GrahamChiu Maybe I can go to kiwiland ;P
 
pwd
%/
@GeekyI we take all sorts here
But we are also in the middle of the ocean!
 
@GrahamChiu But you do have huge amounts of land! I'm practically living on a square kilometre approx..
 
@GeekyI I thought you said you were living in the ocean
 
5:46 AM
@GrahamChiu in the middle of the ocean yes.. on an island
 
and not digital ocean
 
Not DO
 
me too
 
Didn't realize id 7 result _ error _ in my browser is simply log msg
 
@GeekyI yeah
confusing isn't it
@iArnold we are hosting the helpdocs very temporarily on my github repo
Maybe you can clone the repo so r3n doesn't look unused?
What we do need is a way to collect information about community projects .. that can be used as a basis for a website.
I know the guys want to use trello but there are more tools that support the building of websites from github than there are from trello.
 
5:52 AM
Does anyone have a repl for this. I just realized I could also work from my pc.. altho a bit dangerous.. with a port open on my phone..
@GrahamChiu like websitesfortrello.com ?
 
@GeekyI wow
 
@GrahamChiu I'll have a look.
 
@GrahamChiu Some people are just creative :p
 
@GeekyI yes, or too much spare time
 
The website structure looks like trello.com/b/7ImZnzwk/docs
2 levels of hierarchy tho
@GrahamChiu made for people who don't have enough spare time to code :p
 
6:02 AM
I'm suspicious of any free service. Unless I can get that somewhere else, I'd rather not make my data captive to a particular format. If github goes down I can use another git repository. I don't know of any trello alternatives.
 
@GrahamChiu taiga.io is an open source alternative I think (for trello)
Host your own server (tm)
Fortunately, trello has data export, which is so much better than for most services
 
Yeah .. I wasn't familiar with this service either but there's a lot I'm very ignorant of!
 
6:36 AM
@GrahamChiu This one? github.com/gchiu/reboldocs
 
@iArnold Yes. If you download one of the latest binaries, and do help/doc help it will take you to that documentation repository
 
@GrahamChiu I @FriendlyForked it
 
Feel free to contribute
 
7:10 AM
So also now here github.com/r3n and @GrahamChiu I made you an owner of r3n as well.
 
@iArnold got it.
Were you blogging before? Or was that someone else?
 
I did some blogs about some colourful language. Never about R2/R3, at least I can't remember.
 
@iArnold time now?
 
7:50 AM
9:49 AM
 
@iArnold so you've got 10 hours to write a blog about ren-c!
 
@GrahamChiu Be careful what you ask. Last time I politely asked someone to write a blog, he disappeared from the face of the earth.
 
@iArnold who was that? Carl?
 
7hi4go
 
Does that mean you're going to disappear on us?
 
7:57 AM
Hope not
 
Thiago? The author of the GTK improvements to Red?
 
@pekr GTK and not Qt?
 
yes. Red goes for the native bindings ...
well, noone says, Qt will eventually not appear later ...
 
and @iArnold took out a hit on the author of the Red gtk binding?
 
Well, sometimes persons simply dissappear - Earl, Ladislav, Cyphre, Gabriele, BrianH to name a few ... latest it was Kaj, who was big Red supporter.
Thiago actively pushed commits and then suddenly, no activity on any (to us) available channel ...
Difficult to judge each case, we have to face it as a reality. I thought I might contact Reboltutorial. His SO profile seems to be last active back in 2013
 
8:11 AM
@pekr Gabriele is around .. I spoke to him on Facebook recently
and I think he's on Altme??
 
Yes he is, but - how much is he active Rebol wise? Ditto for Cyphre - we still can contact him, but ...
 
But I suspect marriage was not helpful in terms of rebol work for Gabriele and BrianH
 
Is Gabriele married now? :-)
Well, as for BrianH. Some time ago he told me, that he was contacted by some community members of Ruby lang. They asked him to rewrite Ruby 1 to Ruby 2, or something like that.
 
@GrahamChiu I asked him to write something for the redlanguageblog.blogspot.nl blog and he wanted a deadline for he was busy and that would make him create something. I gave him two weeks. Said that I could not force him to do any stuff but I understand that having some kind of date can help. Also told him not to worry about any malformed English too. But unfortunately never seen him around since.
 
He is now contributing to Ruby project, his "excuse" being, that he uses Ruby at work ...
 
8:15 AM
@pekr really? That's an excuse? I use Mozilla so I should contribute to Mozilla code!
 
@pekr Can't imagine that he would do something similar if it was Java or C++ he used at work.
 
@pekr Yes, happily it seems
 
Of course it is an excuse. I use many environments at work. Naturally I contribute to those (e.g. Office 365). Should I say I am not going to contribute to Red as a hobby project, just because I am using something else at work?
 
Better find a new job where you can use a Rebol like language. (Well there is a difficulty in that)
So hobby work on the double to make that happen
 
He simply now likes Ruby, that's all. But he might as well clearly state, that he is not more interested in Rebol.
As Doc says - we need new blood and Red seems to be on the right track to attract new ppl. We are losing our time to chase an old-timers, no matter how we like them ...
 
8:21 AM
@pekr there are a lot of people in the gitter channel when I last looked
Aren't they all contributing?
 
There's still problem with user contributions, which I am not sure how to solve. @HostileFork kind of mentioned that too, but can we work around that? And the problem is, that it all needs to be approved by the project owner, which is still one person ...
Chicken and egg problem. Kaj did many wrappers. But I would not use one, as I know, that Red will get feature x or y later, and it will not be compatible.
 
@GrahamChiu Contributing is far from simple.
 
@iArnold I'm interested in r3n -- maybe you would clone ren-c-lib?
 
Kaj got upset about that, but I asked Doc, and he told me, that Kaj did not map external stuff in 1:1 manner, but created his own functionality around that, which makes it difficult to upgrade, once new version of wrapper is needed.
 
@pekr I sure wished that one person would sit back and relax, training others to contribute, guiding setting out the big lines and tricky details so indeed others would be able to contribute far more than that one person can build, no matter how good the stuff is he himself makes.
@giuliolunati Sure I'll add you to the organisation as well?
 
8:26 AM
@iArnold Yes thx!
 
Doc is doing so in an add-hoc manner though ... you can see, that for particular submissions, he suggests how to adapt the code to be more "reddish"
 
@giuliolunati Repo cloned and you are added as an owner of r3n.
 
@iArnold are you helping the dark side? :-)
 
Matter and dark matter cooperate to hold the galaxies together
2
 
8:30 AM
@pekr there's more dark matter in the universe then anything else
unfortunately it appears to be repulsive! lol
 
Well, it was a joke of a Star Wars fan - dark and light side, are just the same :-)
 
There is no dark side in Rebol, without Rebol there could not have been a blood colored language.
To learn much you have ;-)
 
@pekr, do you remember how the rebol2 port works?
 
Well, was never deeply into sockets, but did few small client/servers ...
what is your exact quesiton?
 
@GrahamChiu Let's test 'who is'
@RebolBot who is @GrahamChiu
 
8:42 AM
@giuliolunati I know this about GrahamChiu and their local time is 29-Mar-2017/20:42:19
@giuliolunati I'd like to know about you! Use the 'save my details' command
 
@giuliolunati the server has a dns resolution issue so is very slow
@pekr If you're doing synchronous tcp, you want read, write, open, and close?
what else do you need?
@giuliolunati We can't save your details, only you can
 
@GrahamChiu Yes, I'll do
 
Just got saved by the evaluation check on an either [thing = other-thing] [...] [...]
 
8:58 AM
@GrahamChiu I just do not want to write a scheme for that.
 
@sqlab so you want someone else to do that?
Would this work for you?
p: open synctcp://www.rebol.com
result: write p {http-header-stuff}
close p
 
9:14 AM
Not sure and not much time to think about that either, sorry ... too busy now ...
 
9:42 AM
Well I just spent several hours of quality time with our friend Travis, overhauling its interaction with make-make. Pretty good smattering of configurations on there. The gcc on Travis is pretty out of date, 4.6, circa 2011...but we'll consider that a good thing, testing against older compilers.
The clang on the OS/X is more up to date.
 
so they can be updated?
Or it depends on travis?
 
Several things you used to have to do by hand in editing the makefile generated by make-make you can now pass as arguments. make -f makefile.boot SANITIZE=yes WITH_FFI=yes DEBUG=yes RIGOROUS=yes STANDARD=c++11... etc
2
So if you want a release build, you can say make -f makefile.boot DEBUG=no for instance.
 
Nice
 
@GrahamChiu Yes, but your virtual machine ("container") image comes with the older one as a default, so it's faster if you can use that one instead of downloading/installing/configuring a new one.
Presumably they picked the one they did for a reason, that it's a long-term support edition.
Clang has annoyingly deprecated the ability to build .c files as c++
Prescriptive much? :-( The filename is not really their business.
 
10:36 AM
@MarkI @ShixinZeng Because functions will be able to have a "binding", and that binding is in a frame when a function runs, and the frame is threaded through the any-arrays in order to connect any relative words with that frame... the words can get back at the binding from the original FUNCTION! REBVAL.
Currently the binding is used only by definitional LEAVE and RETURN, whose archetypal form is a native. I have proposed, however, that this be used to link the function to an object, if the function is a method of that object.
This puts us into a situation though where someone in the process has to point out which words are relative to the function's binding and which are not. At what level is this implicit vs. explicit.
With mechanics how they are today, you'd have to build that single function body relative to a specific archetypal object layout. Imagining for a moment that we simply use refinements to indicate a request for the use of function-binding-relativity, my-method: [a] [a + /a], you couldn't relativize that against o1: make object! [a: 10 b: 20] as well as o2: make object [b: 20 a: 10] because the lookup would be different. Well...you can do it, just not efficiently.
Hence the MAKE FUNCTION! would have to be able to be parameterized with that archetypal object, from which instances are derived. By convention, we assume this would be done with something like METHOD, which would effectively do something like function/member [...] [...] self, picking up whatever the local meaning of SELF happened to be.
Under this strategy, if you only made one object, and used functions in it as done historically, it would still work. But if you derived from that object and didn't use METHOD, you wouldn't get the "voodoo" that happens today which would re-relativize.
Well, I guess there's no real harm in FUNCTION always picking up SELF for any relativizations. If it doesn't use it, and just picks up the user context or whatever, no harm done.
Though superficially the /a might seem like "this->a" in this strategy, it is not. If it were as simplistic as that, you couldn't pass things like /a to another function and have it look up right. Here, the binding is tagging along by way of the frame, which threads through the structure. So it's as good as any other binding.
 
 
1 hour later…
12:06 PM
Hm, well, you can't really do what I suggest above about having FUNCTION implicitly capture SELF unless it were some kind of macro. :-/ You would physically have to write method self [...] [...]
 
 
3 hours later…
 
2 hours later…
4:27 PM
Refreshed binaries for 0.6.2 with fixes for libRed on Linux & macOS, give it a new try if you had issues with it.
 
Have removed the Red PRs from the GitHub feed—Red development is best discussed on Gitter.
(Red GitHub activity is shown bottom-right in that room)
 
4:43 PM
@pekr Worth noting that the main Ren-C repository is owned by a group, not an individual. If HF were to be hit by a bus (or as seems to happen: disappear into the x-rebol dimension), there are others in the group that have the keys. Members of that group can approve user contributions.
It's just that, like with contributions themselves, they don't.
@GeekyI Seems ok, minor flaw: should translate internal card urls—instead of linking to the (proposed) page url, you link to that page's card and the link updates upon build. That way when you're in Trello, clicking a link takes you to the appropriate card, not a 404.
 
5:20 PM
0
Q: Parsing Markdown with Rebol*

giuliolunatiI need to parse Markdown code (and possibly convert it to HTML) with Rebol PARSE. Is there any working example?

 
5:32 PM
@giluiolunati You might want to delete that, as being too broad or "request for information / libraries". @rebolek has MarkyMark which is used by hostilefork.com
There were a couple of Ren-C changes needed IIRC, haven't actually touched it in a while!
 
@rgchris I do not use twotter, so it is pretty handy for me that those twotter red_lang messages show up in this room.
 
6:07 PM
@HostileFork ok, question deleted. Thanks for the link.
 
@iArnold Not changing the Twitter feed—those tweets are pertinent to the objectives of this room.
 
6:46 PM
twotter was twitter :)
@rgchris ok
 
@iArnold I shouldn't have assumed :)
 
I find the mixture of French and English jarring. Don't understand why they don't use DONE instead of FEAT
 
7:05 PM
FEAT is from feature, what is French about that?
 
7:23 PM
@HostileFork I am going to rewrite it anyway, MarkyMark did direct conversion from Markdown to HTML, but proper version needs intermediate step. It will also allow to add more input/output formats.
 
@iArnold you're right, it's English!
 
Only problem is 'feat' means something different.
Feat: "an achievement that requires great courage, skill, or strength"
 
7:40 PM
as opposite to defeat
I think using feat versus done helps searching. Done will be used inadvertently in fixes and other places
 
7:55 PM
@rgchris that's probably what I found foreign about the use of the word!
 
8:29 PM
it's pretty common to use FEAT for issues - @rgchris , the definition you had isn't the only one. Objects can have features, movie theaters feature movies, etc.
 
@Adrian You're french canadian? :)
 
nope
 
@Adrian jk
 
heh
I guess you were thinking of the word "fait", non?
 
@Adrian I dunno. I did high school french but that was 50 years ago
 
8:36 PM
well, maybe you subconsciously did "feat" ~= "fait" == "done"
 
@Adrian yeah , sounds plausible
old brains do funny things
It's one vowel substitution and a reversal
@HostileFork says his brain is wired differently too. He can read with books behind his head.
 
huh?
by looking at a mirror in front?
 
Something like that ... perhaps with his eyes closed.
I forget the claims :)
 
@Adrian I never had to practice to read upside down or at arbitrary angles. I can read books aloud upside down at about the same rate without errors as right side up. I do not notice when things are reversed, e.g. I'm looking at the wrong side of a glass door that says EXIT or ENTER backwards.
So I'll just push on the door thinking it says the word normally.
 
8:43 PM
@Adrian hehe
It's a real handicap ..
I get annoyed when my phone changes its orientation
just because I'm lying in bed
I think I need one of those defunct google glass
 
@GrahamChiu you know there's an easy to reach toggle for that, no?
 
@Adrian eh? No
 
Android?
 
I know on the phone I have to got to settings and turn off auto rotate
 
swipe down to see the quick settings toggle
from the notification area at the top
 
8:47 PM
I'm using MIUI
chinese Android
 
there's no easy settings from the top?
where the most common toggles are available - e.g. bluetooth, airplane mode, wifi, auto-rotation, etc., are found
 
No, there isn't. It's swipe down, swipe left and then toggle
It should detect I'm in bed and stop autorotate
What the hell are smart phones for?
 
according to this it seems there are too many toggles
 
I need a new phone anyway. 32Gb of space isn't enough. Maybe it's time to move from Xiaomi to Oppo?
My wife is on a Huawei P4 which I like ... I could swap with her. She doesn't like the dual lenses.
 
looks like there should be a toggle - en.miui.com/thread-297788-1-1.html
 
8:53 PM
I'm on MIUI 77.00.44.00
Perhaps I need to update if I can find any space on the phone to do so
Ah, it's a modified MIUI version .. probably custom to Xiaomi
 
assert [
    | %.c = suffix? file
    | not find/match file "host-"
    | not find/match file "os-"
]
So I'm finding I like the expression barriers on the left lined up like that, instead of at the end.
assert [
    %.c = suffix? file |
    not find/match file "host-" |
    not find/match file "os-" |
]
And the superflous first expression barrier to keep it lined up, I like. It's much better than the awful commas-at-the-beginning thing, looks a lot nicer.
One problem is you can't do this for parse rules, if you do a leading | it will win over everything else and make it a no-op
 
@rebolek I'm interested in that!
 
 
1 hour later…
10:09 PM
@HostileFork as you know we often will align | on the left for long parse rules .. but is there ever a parse rule that starts with a | ?
 
@GrahamChiu Not unless it was the product of some kind of COMPOSE and wound up that way. Starting with a | means everything after won't be considered.
 
So, if you had one at the beginning of a rule, it could just be ignored
Or, I guess it becomes like a comment marker to temporarily disable a parse rule
 
Ladislav felt that broke the consistency of the model, e.g. where [] is a match, and (now) blank is a match. I don't know that one has to be that black and white about it, one is free to give meanings when it makes things better.
So if [ [] | blah | blah ] never sees blah or blah, it is not necessarily the case one has to equate that with [ | blah | blah]
Could be argued you're setting yourself up for a slippery slope. So what is [a | | | b]? Are the middle ones skipped or matches?
They'd have to be skipped to be consistent. If they were skipped, that would probably mean that [non-matching-rule | (print "this would print") | (print "this would too") | matching-rule]
 
10:27 PM
Looks like a recent update broke my amazon stuff :(
 
Thinking how to check if a string ends in "a": with regex: .*a -- with PARSE: not so simple?
 
problems back again with the r3-4aea2ae-debug-cpp.exe
libstdc++-6.dll missing ( hasn't been statically linked I presume)
And the windows and linux builds are 22Mb in size!
 
10:50 PM
@giuliolunati some [thru "a"]
 
system/version: 2.102.0.3.40
code-checksum: #{EA2F718740A54CD424F5DB55A580531EDD163388}
test-checksum: #{D3CF6A11443B2B83BC6F00208D77E81ACE501A17}
Total: 4764
Succeeded: 4691
Test-failures: 24
Crashes: 0
Dialect-failures: 0
Skipped: 49
 
@MarkI oh, right! Thx. And to check if a string ends in "bar" or "foo" ?
 
I am going to have to start charging you :)
My Mother is a wise lady: she gave me a T-shirt that says "Oh yes, I can explain it to you ... but I can't understand it for you."
@giuliolunati The same. With "bar" or "foo" instead of "a".
 
parse "somebar" [some [thru "foo"| thru "bar"]]
 
:) :) :)
I knew someone else would field that one, thanks @Adrian!
 
11:00 PM
np, I need some spare change too!
 
parse "somebar" [some [thru ["foo" | "bar"]]] is also good.
 
errors out, here
that was my first try
 
R2?
 
yeah
R3 works?
 
@MarkI Not working in ren-c
 
11:03 PM
r3a wins one!
 
>> parse "somebar" [some [thru ["foo" | "bar"]]]
== true
in ren-c
 
@MarkI Sorry, I tried some thru ["foo" | "bar"]
 
For a brief moment ...
 
>> parse "somebar" [any [thru ["foo" | "bar"]]]
== true
Why use some?
 
You are matching the empty string.
 
11:07 PM
he wanted at least one foo|bar
 
@MarkI ok
 
There! Documentation! Live!
 
why the [ ] around thru are required?
 
alternate paths
into
all my stuff is breaking under the latest ren-c :(
we need a stable point release decided upon to fall back upon
 
I mean, in what some [thru ["foo" | "bar"]] differs from some thru ["foo" | "bar"] ?
 
11:13 PM
@giuliolunati well, remove the some and you don't need it
 
RT @vasudevram: #REBOL in ten steps: http://rebol.com/rebolsteps.html #programming #REBOL #scripting
 
11:34 PM
Again wrestling with PARSE: I need something like the regexp [ab]*a -- obviously any ["a" | "b"] "a" don't works... :-/
 
parse "baaaa" [["a"|"b"] some "a"]
 
Doesn't match babbba
 
sorry, misread your regex
 
some ["a" | "b" not end] ?
 
11:51 PM
yeah, that looks right
 

« first day (2341 days earlier)      last day (1439 days later) »