[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: Re: Maybe Leaving slitaz
- From: Allan Pinto <allan316@xxxxxxxxx>
- Date: Fri, 20 Jul 2012 16:29:41 +0530
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XFfp5CM8bjvMj+dY/B+avQcQeZIMaYBqcUsy4G9q8Os=; b=nGHFaiLXPlLYsapJeSggsk2Jdony8HyysGTHheWHvKbDGv0Km7a9Nc/MOW5I61mpF4 +jFzD7x7fHsHy08hWBJgurgC67/OpRmUJ25wjNq/BUcCOMwS7/JIk88qgSchg6lfC2yM 3NhOPnvw3yOz+I8m/CmzPFntuas+a22wm3wdVCEiPURR5D1nAimJJZpl6+43Pmhawbry WwL3/PJwOSzuRnv5z7jnoS/MnRfweQuUQeKorbF+DDbIiDLRuGT5kH71d/sE3UjP8Hpc zm7O5n6Yej6OrvkR+GomaccWyDb8Y5lKGnVRH/imZ9rcPXecViCtLtD4Gcx4nTegr7Jo joWg==
guys , can i just ask as to why nimrod? what were the factors in
choosing it over say, rebol/lua etc.
On Fri, Jul 20, 2012 at 7:53 AM, Aleksej Bobylev <al.bobylev@xxxxxxxxx> wrote:
> I allow myself a little quote.
>
> Jul 18 18:45:18 [godane] the syntexing is going to drive me nuts with nimrod
> Jul 18 18:45:36 [godane] stuff like this: var lit =
> url.replacef(re"(http://)*(www.)*([^/]+)(.*$)",
> "<span>$1$2</span>$3<span>$4</span>")
> Jul 18 18:46:29 [godane] this is why i have zero support of nimrod
> Jul 18 18:48:15 [Trixar_za] You could also use re("")
> Jul 18 18:48:16 [Trixar_za] :P
> Jul 18 18:49:03 [Trixar_za] Also can't you read regular expression? Oo
> Jul 18 18:49:37 [godane] full code came from here:
> http://hg.slitaz.org/nim-tools/rev/c5c91502cc60
>
> Yes, this is my code. It seems that I need to translate my procedure
> on a world-accessible language.
>
> Original:
> proc link(url: string) =
> var lit = url.replacef(re"(http://)*(www.)*([^/]+)(.*$)",
> "<span>$1$2</span>$3<span>$4</span>")
> echo("<a href=\"" & url & "\">" & lit & "</a>")
>
> Translation:
> #!/bin/sh
> link()
> {
> lit=$(echo $url | sed
> "s/\(http:\/\/\)*\(www\.\)*\([^\/]*\)\(.*$\)/<span>\1\2<\/span>\3<span>\4<\/span>/")
> echo "<a href=\"$url\">$lit</a>"
> }
>
> url="http://www.robobunny.com/projects/asciiquarium/html/"
> link
>
> My lovely accordion! [:]/\/\/\[:]
> ;D
>
> --
> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
>
--
Thanx and regd's.
Allan.
http://tamahatta.com
--
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
- Follow-Ups:
- Nimrod
- From: Brenton Edgar Scott