Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Pause for storage relocation.


devel / comp.lang.awk / Re: awkcc available, again

SubjectAuthor
* awkcc available, againAharon Robbins
`* Re: awkcc available, againJanis Papanagnou
 +* Re: awkcc available, againJeff Paranich
 |`* Re: awkcc available, againEd Morton
 | `* Re: awkcc available, againJanis Papanagnou
 |  +* Re: awkcc available, againKaz Kylheku
 |  |`- Re: awkcc available, againJanis Papanagnou
 |  `- Re: awkcc available, againEd Morton
 `* Re: awkcc available, againAharon Robbins
  `* Re: awkcc available, againJanis Papanagnou
   `- Re: awkcc available, againAharon Robbins

1
awkcc available, again

<srfd1s$1gtf$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=971&group=comp.lang.awk#971

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!Rd5Sx5Uca2Gernvc4AVdMQ.user.46.165.242.75.POSTED!not-for-mail
From: arnold@skeeve.com (Aharon Robbins)
Newsgroups: comp.lang.awk
Subject: awkcc available, again
Date: Sun, 9 Jan 2022 19:29:01 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <srfd1s$1gtf$1@gioia.aioe.org>
Injection-Info: gioia.aioe.org; logging-data="50095"; posting-host="Rd5Sx5Uca2Gernvc4AVdMQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
Originator: arnold@skeeve.com (Arnold Robbins)
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Aharon Robbins - Sun, 9 Jan 2022 19:29 UTC

Hello All.

I am pleased to announce that, after a multi-year effort, Chris Ramming's
awkcc is now once again available for download, and this time with
a more permissive license.

(It was made available in 2011 under a personal use license, and over
time it disappeared as Bell Labs changed owners and management.)

The code, both the 1988 and 2011 versions, may be found at
https://github.com/nokia/awkcc.

The code is primarily of historical interest; I think it would take
a significant effort to build it on a more modern system, although I
think it could be done. It'd also be an effort to bring it up to date
with the current Unix version of awk. Again most likely doable, but not
necessarily trivial.

In any case, enjoy!

Arnold
--
Aharon (Arnold) Robbins arnold AT skeeve DOT com

Re: awkcc available, again

<srffnr$mbr$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=972&group=comp.lang.awk#972

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: awkcc available, again
Date: Sun, 9 Jan 2022 21:14:50 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <srffnr$mbr$1@dont-email.me>
References: <srfd1s$1gtf$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 9 Jan 2022 20:14:51 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="7af1421806c221ae5809c464b965cd8b";
logging-data="22907"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182l/Fh1Sp43xgapA5a7+RT"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:WknIWoIWeD8tFpNSKHBJQmjcbwI=
In-Reply-To: <srfd1s$1gtf$1@gioia.aioe.org>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Sun, 9 Jan 2022 20:14 UTC

On 09.01.2022 20:29, Aharon Robbins wrote:
> [...]
> https://github.com/nokia/awkcc.
>
> The code is primarily of historical interest; I think it would take
> a significant effort to build it on a more modern system, although I
> think it could be done.

It compiles on my system with warnings but creates an awkcc executable.

The strange thing is that calling it creates an error because it wants
to run the awkcc.sh script (which is non-executable per default). It's,
I think, the first time that I've seen such a design.

Janis

Re: awkcc available, again

<aebca8fc-5e68-4c28-a509-4cf94c027788n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=973&group=comp.lang.awk#973

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:ac8:100f:: with SMTP id z15mr613004qti.488.1641835067470;
Mon, 10 Jan 2022 09:17:47 -0800 (PST)
X-Received: by 2002:a05:6902:708:: with SMTP id k8mr784173ybt.641.1641835065511;
Mon, 10 Jan 2022 09:17:45 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Mon, 10 Jan 2022 09:17:45 -0800 (PST)
In-Reply-To: <srffnr$mbr$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2001:56a:f71d:9700:a1ea:11d4:7f92:8a86;
posting-account=us9_ZAoAAAD3LiZIcaRf4DeIcHbBNo3t
NNTP-Posting-Host: 2001:56a:f71d:9700:a1ea:11d4:7f92:8a86
References: <srfd1s$1gtf$1@gioia.aioe.org> <srffnr$mbr$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aebca8fc-5e68-4c28-a509-4cf94c027788n@googlegroups.com>
Subject: Re: awkcc available, again
From: jparanich@gmail.com (Jeff Paranich)
Injection-Date: Mon, 10 Jan 2022 17:17:47 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 23
 by: Jeff Paranich - Mon, 10 Jan 2022 17:17 UTC

On Sunday, 9 January 2022 at 13:14:53 UTC-7, Janis Papanagnou wrote:
> On 09.01.2022 20:29, Aharon Robbins wrote:
> > [...]
> > https://github.com/nokia/awkcc.
> >
> > The code is primarily of historical interest; I think it would take
> > a significant effort to build it on a more modern system, although I
> > think it could be done.
> It compiles on my system with warnings but creates an awkcc executable.
>
> The strange thing is that calling it creates an error because it wants
> to run the awkcc.sh script (which is non-executable per default). It's,
> I think, the first time that I've seen such a design.
>
> Janis
Hi everyone.... Arnold thanks for the notification.

Ironically I had stumbled on this source a year ago and reach out to Nokia/Bell folk if I could release it, but nobody was sure... so I held off. I had it compiling with a few fixes and have been using it for personal use since then.

I've released a fork of Nokia's repo with my build files. Actually my source copy had various folders not part of your release Robin, so I've essentially just merged it all.

My repo can be found here: https://github.com/chipnetics/awkcc

I'll try to add more details as time allow. Thanks again!

Re: awkcc available, again

<srk2rj$57q$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=974&group=comp.lang.awk#974

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mortonspam@gmail.com (Ed Morton)
Newsgroups: comp.lang.awk
Subject: Re: awkcc available, again
Date: Tue, 11 Jan 2022 08:05:39 -0600
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <srk2rj$57q$1@dont-email.me>
References: <srfd1s$1gtf$1@gioia.aioe.org> <srffnr$mbr$1@dont-email.me>
<aebca8fc-5e68-4c28-a509-4cf94c027788n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 11 Jan 2022 14:05:39 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0559ddc4d75694e387130168ac08df85";
logging-data="5370"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lEuyl1wWkL393kZYr1g/V"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:A/9f2SwfrzGuw/YckcARV++6HPU=
In-Reply-To: <aebca8fc-5e68-4c28-a509-4cf94c027788n@googlegroups.com>
X-Antivirus-Status: Clean
Content-Language: en-US
X-Antivirus: Avast (VPS 220111-2, 1/11/2022), Outbound message
 by: Ed Morton - Tue, 11 Jan 2022 14:05 UTC

On 1/10/2022 11:17 AM, Jeff Paranich wrote:
> On Sunday, 9 January 2022 at 13:14:53 UTC-7, Janis Papanagnou wrote:
>> On 09.01.2022 20:29, Aharon Robbins wrote:
>>> [...]
>>> https://github.com/nokia/awkcc.
>>>
>>> The code is primarily of historical interest; I think it would take
>>> a significant effort to build it on a more modern system, although I
>>> think it could be done.
>> It compiles on my system with warnings but creates an awkcc executable.
>>
>> The strange thing is that calling it creates an error because it wants
>> to run the awkcc.sh script (which is non-executable per default). It's,
>> I think, the first time that I've seen such a design.
>>
>> Janis
> Hi everyone.... Arnold thanks for the notification.
>
> Ironically I had stumbled on this source a year ago and reach out to Nokia/Bell folk if I could release it, but nobody was sure... so I held off. I had it compiling with a few fixes and have been using it for personal use since then.
>
> I've released a fork of Nokia's repo with my build files. Actually my source copy had various folders not part of your release Robin, so I've essentially just merged it all.
>
> My repo can be found here: https://github.com/chipnetics/awkcc
>
> I'll try to add more details as time allow. Thanks again!

Have you found much of a speed improvement after compiling the C version
of the scripts that awkcc outputs? When I worked at AT&T in the 90s we
used fairly large (1,000+ lines) awk scripts with nawk for some C code
generation from a domain-specific language and tried using awkcc to let
us compile our awk scripts to speed up the build process but didn't
notice a difference.

Ed.

Re: awkcc available, again

<srkd1v$g4u$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=975&group=comp.lang.awk#975

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: awkcc available, again
Date: Tue, 11 Jan 2022 17:59:42 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <srkd1v$g4u$1@dont-email.me>
References: <srfd1s$1gtf$1@gioia.aioe.org> <srffnr$mbr$1@dont-email.me>
<aebca8fc-5e68-4c28-a509-4cf94c027788n@googlegroups.com>
<srk2rj$57q$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 11 Jan 2022 16:59:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="ee114f3b6a787be8f93724ecbcaff2af";
logging-data="16542"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ul1EPCUyEbBA3kx0CCAsn"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:AIQSjxwRAJEvMvoCVqeee0abro8=
In-Reply-To: <srk2rj$57q$1@dont-email.me>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Tue, 11 Jan 2022 16:59 UTC

On 11.01.2022 15:05, Ed Morton wrote:
>
> Have you found much of a speed improvement after compiling the C version
> of the scripts that awkcc outputs? When I worked at AT&T in the 90s we
> used fairly large (1,000+ lines) awk scripts with nawk for some C code
> generation from a domain-specific language and tried using awkcc to let
> us compile our awk scripts to speed up the build process but didn't
> notice a difference.

This observation astonishes me, I'd have expected at least *some*
speed up for a compiled version, yet more so for the not too fast
Nawk. - Is the generated code so bad?

Around 1999 there was the Awka Awk-compiler, and on it's web page[*]
they have some performance data - not standard test cases, rather
just measuring the runtime of Awk features - and that compiler works
quite efficient, especially if compared to nawk (which incidentally
was one of the tools used for comparison[**]).

Janis

[*] Still accessible: http://awka.sourceforge.net/compare.html

[**] The used tools don't reflect the current tools' performance;
at that time Gawk (for example) didn't use byte code, so current
Gawk probably competes better than depicted in the these numbers.

Re: awkcc available, again

<20220111093502.151@kylheku.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=976&group=comp.lang.awk#976

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: 480-992-1380@kylheku.com (Kaz Kylheku)
Newsgroups: comp.lang.awk
Subject: Re: awkcc available, again
Date: Tue, 11 Jan 2022 17:37:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <20220111093502.151@kylheku.com>
References: <srfd1s$1gtf$1@gioia.aioe.org> <srffnr$mbr$1@dont-email.me>
<aebca8fc-5e68-4c28-a509-4cf94c027788n@googlegroups.com>
<srk2rj$57q$1@dont-email.me> <srkd1v$g4u$1@dont-email.me>
Injection-Date: Tue, 11 Jan 2022 17:37:37 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="70cabdd205cef801724f053390e549a2";
logging-data="1028"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Ov+0L3ziUgwPsgEKE/vUOMv0f/hpbK+U="
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:86MLX278qOCP1G4EOI9Zs/T0BMQ=
 by: Kaz Kylheku - Tue, 11 Jan 2022 17:37 UTC

On 2022-01-11, Janis Papanagnou <janis_papanagnou@hotmail.com> wrote:
> On 11.01.2022 15:05, Ed Morton wrote:
>>
>> Have you found much of a speed improvement after compiling the C version
>> of the scripts that awkcc outputs? When I worked at AT&T in the 90s we
>> used fairly large (1,000+ lines) awk scripts with nawk for some C code
>> generation from a domain-specific language and tried using awkcc to let
>> us compile our awk scripts to speed up the build process but didn't
>> notice a difference.
>
> This observation astonishes me, I'd have expected at least *some*
> speed up for a compiled version, yet more so for the not too fast
> Nawk. - Is the generated code so bad?

If the Awk code is spending most of its time in the host
implementation's run-time support code for input reading and field
splitting, and the compiled Awk doesn't have that aspect well-optimized,
it could end up slower.

Re: awkcc available, again

<srl0nt$vs9$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=977&group=comp.lang.awk#977

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mortonspam@gmail.com (Ed Morton)
Newsgroups: comp.lang.awk
Subject: Re: awkcc available, again
Date: Tue, 11 Jan 2022 16:35:40 -0600
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <srl0nt$vs9$1@dont-email.me>
References: <srfd1s$1gtf$1@gioia.aioe.org> <srffnr$mbr$1@dont-email.me>
<aebca8fc-5e68-4c28-a509-4cf94c027788n@googlegroups.com>
<srk2rj$57q$1@dont-email.me> <srkd1v$g4u$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 11 Jan 2022 22:35:41 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0559ddc4d75694e387130168ac08df85";
logging-data="32649"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/T1JnrGoU1OnwmejjjcVIY"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:Tp0ERlnojDc/2ZGoPdNns5tniRc=
In-Reply-To: <srkd1v$g4u$1@dont-email.me>
X-Antivirus-Status: Clean
Content-Language: en-US
X-Antivirus: Avast (VPS 220111-2, 1/11/2022), Outbound message
 by: Ed Morton - Tue, 11 Jan 2022 22:35 UTC

On 1/11/2022 10:59 AM, Janis Papanagnou wrote:
> On 11.01.2022 15:05, Ed Morton wrote:
>>
>> Have you found much of a speed improvement after compiling the C version
>> of the scripts that awkcc outputs? When I worked at AT&T in the 90s we
>> used fairly large (1,000+ lines) awk scripts with nawk for some C code
>> generation from a domain-specific language and tried using awkcc to let
>> us compile our awk scripts to speed up the build process but didn't
>> notice a difference.
>
> This observation astonishes me, I'd have expected at least *some*
> speed up for a compiled version, yet more so for the not too fast
> Nawk. - Is the generated code so bad?

It's been about 30 years so I don't remember much about it other than
that the generated code was pretty unreadable (which is not a problem as
long as you don't have to read/modify it!) so we didn't bother trying to
figure out if/where the issues were with it and instead just left the
code as awk.

Ed.

>
> Around 1999 there was the Awka Awk-compiler, and on it's web page[*]
> they have some performance data - not standard test cases, rather
> just measuring the runtime of Awk features - and that compiler works
> quite efficient, especially if compared to nawk (which incidentally
> was one of the tools used for comparison[**]).
>
> Janis
>
> [*] Still accessible: http://awka.sourceforge.net/compare.html
>
> [**] The used tools don't reflect the current tools' performance;
> at that time Gawk (for example) didn't use byte code, so current
> Gawk probably competes better than depicted in the these numbers.
>

Re: awkcc available, again

<srlmkv$gm8$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=978&group=comp.lang.awk#978

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: awkcc available, again
Date: Wed, 12 Jan 2022 05:49:35 +0100
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <srlmkv$gm8$1@dont-email.me>
References: <srfd1s$1gtf$1@gioia.aioe.org> <srffnr$mbr$1@dont-email.me>
<aebca8fc-5e68-4c28-a509-4cf94c027788n@googlegroups.com>
<srk2rj$57q$1@dont-email.me> <srkd1v$g4u$1@dont-email.me>
<20220111093502.151@kylheku.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 12 Jan 2022 04:49:35 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1e554dc60d1fc227c7f1c04686e7b055";
logging-data="17096"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JkMlRzQgM9+EZgknZ+wo7"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:A9qSJshPLWq6Jhp52isa/s8BNQk=
In-Reply-To: <20220111093502.151@kylheku.com>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Wed, 12 Jan 2022 04:49 UTC

On 11.01.2022 18:37, Kaz Kylheku wrote:
> On 2022-01-11, Janis Papanagnou <janis_papanagnou@hotmail.com> wrote:
>> On 11.01.2022 15:05, Ed Morton wrote:
>>>
>>> Have you found much of a speed improvement after compiling the C version
>>> of the scripts that awkcc outputs? When I worked at AT&T in the 90s we
>>> used fairly large (1,000+ lines) awk scripts with nawk for some C code
>>> generation from a domain-specific language and tried using awkcc to let
>>> us compile our awk scripts to speed up the build process but didn't
>>> notice a difference.
>>
>> This observation astonishes me, I'd have expected at least *some*
>> speed up for a compiled version, yet more so for the not too fast
>> Nawk. - Is the generated code so bad?
>
> If the Awk code is spending most of its time in the host
> implementation's run-time support code for input reading and field
> splitting, and the compiled Awk doesn't have that aspect well-optimized,
> it could end up slower.

Yes, it was more a rhetorical question; I'd just expected that the core
awk functions/code would be the first parts considered for optimization.
With that in mind I'm wondering whether that would really be the reason
in the case of awkcc. (Not that I'm too concerned about a tool that had
been said to be "primarily of historical interest".)

Janis

Re: awkcc available, again

<srq0dl$dhc$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=982&group=comp.lang.awk#982

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!jfW8is3jEvbV6BgEKGFzFw.user.46.165.242.75.POSTED!not-for-mail
From: arnold@skeeve.com (Aharon Robbins)
Newsgroups: comp.lang.awk
Subject: Re: awkcc available, again
Date: Thu, 13 Jan 2022 20:00:53 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <srq0dl$dhc$1@gioia.aioe.org>
References: <srfd1s$1gtf$1@gioia.aioe.org> <srffnr$mbr$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="13868"; posting-host="jfW8is3jEvbV6BgEKGFzFw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: arnold@skeeve.com (Arnold Robbins)
 by: Aharon Robbins - Thu, 13 Jan 2022 20:00 UTC

In article <srffnr$mbr$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou@hotmail.com> wrote:
>On 09.01.2022 20:29, Aharon Robbins wrote:
>> [...]
>> https://github.com/nokia/awkcc.
>>
>> The code is primarily of historical interest; I think it would take
>> a significant effort to build it on a more modern system, although I
>> think it could be done.
>
>It compiles on my system with warnings but creates an awkcc executable.
>
>The strange thing is that calling it creates an error because it wants
>to run the awkcc.sh script (which is non-executable per default). It's,
>I think, the first time that I've seen such a design.

What happens if you make awkcc.sh executable and put in your PATH?
Do you end up being able to compile and awk program into C and
then compile that and run it?

Thanks,

Arnold
--
Aharon (Arnold) Robbins arnold AT skeeve DOT com

Re: awkcc available, again

<srqde2$u86$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=983&group=comp.lang.awk#983

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: awkcc available, again
Date: Fri, 14 Jan 2022 00:42:57 +0100
Organization: A noiseless patient Spider
Lines: 41
Message-ID: <srqde2$u86$1@dont-email.me>
References: <srfd1s$1gtf$1@gioia.aioe.org> <srffnr$mbr$1@dont-email.me>
<srq0dl$dhc$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 13 Jan 2022 23:42:58 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5bd0971ac83445ea01009bfa02bc7dff";
logging-data="30982"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19HTjshzHQNpRZ5F7DXhTn/"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:dxVmFZ8EoZkvebAe34N4+fTSrhc=
In-Reply-To: <srq0dl$dhc$1@gioia.aioe.org>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Thu, 13 Jan 2022 23:42 UTC

On 13.01.2022 21:00, Aharon Robbins wrote:
> In article <srffnr$mbr$1@dont-email.me>,
> Janis Papanagnou <janis_papanagnou@hotmail.com> wrote:
>> On 09.01.2022 20:29, Aharon Robbins wrote:
>>> [...]
>>> https://github.com/nokia/awkcc.
>>>
>>> The code is primarily of historical interest; I think it would take
>>> a significant effort to build it on a more modern system, although I
>>> think it could be done.
>>
>> It compiles on my system with warnings but creates an awkcc executable.
>>
>> The strange thing is that calling it creates an error because it wants
>> to run the awkcc.sh script (which is non-executable per default). It's,
>> I think, the first time that I've seen such a design.
>
> What happens if you make awkcc.sh executable and put in your PATH?
> Do you end up being able to compile and awk program into C and
> then compile that and run it?

I didn't want to do that before understanding what I actually do and
what that is that I'd execute. Instead I had looked into some of the
created files and noticed still a couple of hard coded paths in some
of the files which just don't exist (or don't need to exist) in that
way. What I want to say here is that there's more amiss in the package
than just a missing executable flag, and that you have been correct
with your original statement "It'd also be an effort to bring it up
to date", though not in the make process - a C-file had been created,
IIRC - but in the faulty runtime (or its generation). Together with
the arguable design philosophy I'd rather abstain from putting more
effort in that tool.

Janis

>
> Thanks,
>
> Arnold
>

Re: awkcc available, again

<srrjj1$1qm0$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=985&group=comp.lang.awk#985

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!oezMANDihSCMu4glm/ED7g.user.46.165.242.75.POSTED!not-for-mail
From: arnold@skeeve.com (Aharon Robbins)
Newsgroups: comp.lang.awk
Subject: Re: awkcc available, again
Date: Fri, 14 Jan 2022 10:34:09 -0000 (UTC)
Organization: Aioe.org NNTP Server
Message-ID: <srrjj1$1qm0$1@gioia.aioe.org>
References: <srfd1s$1gtf$1@gioia.aioe.org> <srffnr$mbr$1@dont-email.me> <srq0dl$dhc$1@gioia.aioe.org> <srqde2$u86$1@dont-email.me>
Injection-Info: gioia.aioe.org; logging-data="60096"; posting-host="oezMANDihSCMu4glm/ED7g.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
Originator: arnold@skeeve.com (Arnold Robbins)
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
X-Notice: Filtered by postfilter v. 0.9.2
 by: Aharon Robbins - Fri, 14 Jan 2022 10:34 UTC

In article <srqde2$u86$1@dont-email.me>,
Janis Papanagnou <janis_papanagnou@hotmail.com> wrote:
>> What happens if you make awkcc.sh executable and put in your PATH?
>> Do you end up being able to compile and awk program into C and
>> then compile that and run it?
>
>I didn't want to do that before understanding what I actually do and
>what that is that I'd execute. Instead I had looked into some of the
>created files and noticed still a couple of hard coded paths in some
>of the files which just don't exist (or don't need to exist) in that
>way. What I want to say here is that there's more amiss in the package
>than just a missing executable flag, and that you have been correct
>with your original statement "It'd also be an effort to bring it up
>to date", though not in the make process - a C-file had been created,
>IIRC - but in the faulty runtime (or its generation). Together with
>the arguable design philosophy I'd rather abstain from putting more
>effort in that tool.

OK, that's all understandable.

The main point of getting it released was for the historical
value. It was an interesting program that I didn't want to
get lost in the sands of time.

Thanks,

Arnold
--
Aharon (Arnold) Robbins arnold AT skeeve DOT com

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor