Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Everybody is talking about the weather but nobody does anything about it." -- Mark Twain


devel / comp.unix.shell / Use regexp to build the symbols list defined in GAP and its plugin packages.

SubjectAuthor
* Use regexp to build the symbols list defined in GAP and its plugin packages.hongy...@gmail.com
`* Re: Use regexp to build the symbols list defined in GAP and itsJanis Papanagnou
 `- Re: Use regexp to build the symbols list defined in GAP and itshongy...@gmail.com

1
Use regexp to build the symbols list defined in GAP and its plugin packages.

<4c990879-2242-4639-adc7-47718fef845bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5311&group=comp.unix.shell#5311

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:6214:23cc:b0:44f:4974:4c1c with SMTP id hr12-20020a05621423cc00b0044f49744c1cmr12386837qvb.116.1652085239266;
Mon, 09 May 2022 01:33:59 -0700 (PDT)
X-Received: by 2002:ac8:5c4d:0:b0:2e0:71b7:2829 with SMTP id
j13-20020ac85c4d000000b002e071b72829mr13392126qtj.323.1652085239109; Mon, 09
May 2022 01:33:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Mon, 9 May 2022 01:33:58 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=203.175.13.156; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 203.175.13.156
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4c990879-2242-4639-adc7-47718fef845bn@googlegroups.com>
Subject: Use regexp to build the symbols list defined in GAP and its plugin packages.
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Mon, 09 May 2022 08:33:59 +0000
Content-Type: text/plain; charset="UTF-8"
 by: hongy...@gmail.com - Mon, 9 May 2022 08:33 UTC

I noticed this file [1] includes almost all the symbols defined in GAP [2] and its plugin packages. But I think this should be created by searching gap source code using some complex regular expressions. I try to figure out the regex, but in vain.

Any tips and tricks will be highly appreciated.

[1] https://github.com/feisele/vscode-gap-language-support/blob/master/src/symbols.ts
[2] https://www.gap-system.org/

Regards,
HZ

Re: Use regexp to build the symbols list defined in GAP and its plugin packages.

<t5aoef$s3j$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5312&group=comp.unix.shell#5312

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_pa...@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: Use regexp to build the symbols list defined in GAP and its
plugin packages.
Date: Mon, 9 May 2022 11:55:26 +0200
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <t5aoef$s3j$1@dont-email.me>
References: <4c990879-2242-4639-adc7-47718fef845bn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 9 May 2022 09:55:27 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="4f52dfdc2b8c43fbf613807fd3c974a3";
logging-data="28787"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/FQkAaLPPCZg+hhwRA1y3d"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:vDSC5j20OYuf7QtWa5874tBvGe4=
In-Reply-To: <4c990879-2242-4639-adc7-47718fef845bn@googlegroups.com>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Mon, 9 May 2022 09:55 UTC

On 09.05.2022 10:33, hongy...@gmail.com wrote:
> I noticed this file [1] includes almost all the symbols defined in
> GAP [2] and its plugin packages. But I think this should be created
> by searching gap source code using some complex regular expressions.

Why do you think these data haven't already been collected by a regexp
search?

That's at least what I regularly do; filter data (including source code)
to extract data that I comprise in some other context, often manually
adding the surrounding context code (like the "export const GVars = ["
in the current example), where in specific cases of continuous code
generation processes that prefix/postfix handling can also be automated
trivially.

> I try to figure out the regex, but in vain.

And what is/was your concrete question/problem finding that regexp?

Or do you want (as so often) that we do your job?

>
> Any tips and tricks will be highly appreciated.
>
> [1]
> https://github.com/feisele/vscode-gap-language-support/blob/master/src/symbols.ts
>
> [2] https://www.gap-system.org/
>
> Regards, HZ
>

Re: Use regexp to build the symbols list defined in GAP and its plugin packages.

<e767bd72-f592-4612-820e-1460c203ffean@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=5313&group=comp.unix.shell#5313

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:622a:54d:b0:2f3:ce29:234a with SMTP id m13-20020a05622a054d00b002f3ce29234amr10092317qtx.559.1652101240031;
Mon, 09 May 2022 06:00:40 -0700 (PDT)
X-Received: by 2002:a05:620a:d87:b0:67b:3105:4f7f with SMTP id
q7-20020a05620a0d8700b0067b31054f7fmr11416252qkl.230.1652101239439; Mon, 09
May 2022 06:00:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!193.141.40.65.MISMATCH!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Mon, 9 May 2022 06:00:38 -0700 (PDT)
In-Reply-To: <t5aoef$s3j$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=203.175.13.156; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 203.175.13.156
References: <4c990879-2242-4639-adc7-47718fef845bn@googlegroups.com> <t5aoef$s3j$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e767bd72-f592-4612-820e-1460c203ffean@googlegroups.com>
Subject: Re: Use regexp to build the symbols list defined in GAP and its
plugin packages.
From: hongyi.z...@gmail.com (hongy...@gmail.com)
Injection-Date: Mon, 09 May 2022 13:00:40 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2693
 by: hongy...@gmail.com - Mon, 9 May 2022 13:00 UTC

On Monday, May 9, 2022 at 5:55:32 PM UTC+8, Janis Papanagnou wrote:
> On 09.05.2022 10:33, hongy...@gmail.com wrote:
> > I noticed this file [1] includes almost all the symbols defined in
> > GAP [2] and its plugin packages. But I think this should be created
> > by searching gap source code using some complex regular expressions.
> Why do you think these data haven't already been collected by a regexp
> search?
>
> That's at least what I regularly do; filter data (including source code)
> to extract data that I comprise in some other context, often manually
> adding the surrounding context code (like the "export const GVars = ["
> in the current example), where in specific cases of continuous code
> generation processes that prefix/postfix handling can also be automated
> trivially.

Got it. In fact, it's done by using the gap language itself [1].

[1] https://github.com/feisele/vscode-gap-language-support/issues/2#issuecomment-1120965434

Regards,
HZ

> > I try to figure out the regex, but in vain.
> And what is/was your concrete question/problem finding that regexp?
>
> Or do you want (as so often) that we do your job?
> >
> > Any tips and tricks will be highly appreciated.
> >
> > [1]
> > https://github.com/feisele/vscode-gap-language-support/blob/master/src/symbols.ts
> >
> > [2] https://www.gap-system.org/
> >
> > Regards, HZ
> >

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor