Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #13665

Re: wily 4 Haskell...

From Unknown <dog@gmail.com>
Newsgroups comp.os.linux.misc, comp.sys.raspberry-pi
Subject Re: wily 4 Haskell...
Date 2015-02-09 18:01 +0000
Organization A noiseless patient Spider
Message-ID <pan.2015.02.09.18.10.22@gmail.com> (permalink)
References <mavo96$1id$1@dont-email.me>

Cross-posted to 2 groups.

Show all headers | View raw


On Thu, 05 Feb 2015 12:39:04 +0000, not.socialnetwork wrote:

> Being able to read & 'hear' a new-language is much cheaper than
> <rearranging the neurons in your brain> to speak & write new-languages.
> --snip --

=== Here's the system & full description & test log ===
Using wily: [see below HOW2 use a mouse and CLI system]
Start  <-- copy START textFile to SIP
REPEAT
  wilyLoad SIP
  wilyExecute HotLink;
  wilyDelete SIP
UNTILdone .
---------------- Start gives me:
MODULE Mid;
 CONST <CLst>;
 VAR <VLst>;
 { ProcDcl }
 BEGIN StmLst
 END Mid.
---------------- ProcDcl gives me:
MODULE Mid;
 CONST <CLst>;
 VAR <VLst>;
 { PROC Pid;
 DecLst  BEGIN StmLst END Pid; }
 BEGIN StmLst
 END Mid.
---------------- StmLst gives me:
MODULE Mid;
 CONST <CLst>;
 VAR <VLst>;
 { PROC Pid;
 DecLst  BEGIN
 Asgn V:=X;
 While Bool Do;
 IfThenElse END Pid; }
 BEGIN
 Asgn V:=X;
 While Bool Do;
 IfThenElse
 END Mid.
---------------- DecLst gives me: <- In Proc.
MODULE Mid;
 CONST <CLst>;
 VAR <VLst>;
 { PROC Pid;
 CONST <CLst>;
 VAR <VLst>;
 { ProcDcl }  BEGIN
 Asgn V:=X;
 While Bool Do;
 IfThenElse END Pid; }
 BEGIN
 Asgn V:=X;
 While Bool Do;
 IfThenElse
 END Mid.
--------------- ..etc.
Yes, when there are multiple <identiacally ID-ed hot-links>
 they all get expanded. So delete some before [or later] the
expansion/S.

The above was generated by [slhdlhdlhd] 1+3*3=10 mouse-klux;
without looking away from the screen, to the keybrd.

Aviators call it: 'heads up flying '.

So you haven't got wily or plan9:acme or ETHOberon?
Then you can just eg. mouse-copy: StmLst
and paste it to the CLI to get:
./StmLst
which means you can do this without X11, too.
=========================
Here's the full system. So start writing a Haskell version,
unless you can rather write one *IN* Haskell !!

-rwxr-xr-x 1 root root    98 2015-02-09 17:53 DecLst
-rwxr-xr-x 1 root root    67 2015-02-09 17:53 ProcDcl
-rw-r--r-- 1 root root   211 2015-02-09 17:34 SIP
-rw-r--r-- 1 root root    77 2015-02-09 17:07 START
-rwxr-xr-x 1 root root    54 2015-02-09 17:04 Start
-rwxr-xr-x 1 root root   115 2015-02-09 17:53 StmLst

--- DecLst
sed -i 's/DecLst/CONST <CLst>;\n VAR <VLst>;\n { ProcDcl }/'  SIP

# ; <- belongs to Lower-blok
--- ProcDcl
sed -i 's/ProcDcl/PROC Pid;\n DecLst  BEGIN StmLst END Pid;/' SIP
--- START
MODULE Mid;
 CONST <CLst>;
 VAR <VLst>;
 { ProcDcl }
 BEGIN StmLst
 END Mid.
---  Start
cp START SIP

# Initialise File: SIP from File: START
--- StmLst
sed -i 's/StmLst/\n Asgn V:=X;\n While Bool Do;\n IfThenElse/'  SIP

# StmLstS in MAIN & all PROCs will be updated!
---

Next post will be my attempt to evolve a similar Haskell-helper/menu,
and I'll EXPECT some assistance.

== TIA


Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

wily 4 Haskell... not.socialnetwork@gmail.com - 2015-02-05 12:39 +0000
  Re: wily 4 Haskell... Unknown <dog@gmail.com> - 2015-02-09 18:01 +0000
    Re: wily 4 Haskell... Nomen Nescio <nobody@dizum.com> - 2015-02-09 20:14 +0100
      Re: wily 4 Haskell... mm0fmf <none@mailinator.com> - 2015-02-09 19:28 +0000
        Re: wily 4 Haskell... Martin Gregorie <martin@address-in-sig.invalid> - 2015-02-09 23:58 +0000
          Re: wily 4 Haskell... Unknown <dog@gmail.com> - 2015-02-18 15:24 +0000
      Re: wily 4 Haskell... Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-02-10 08:54 -0500

csiph-web