[Ohrrpgce] SVN: teeemcee/13528 More parser_tests.hss for catching name clashes

2024-02-07 Thread subversion--- via Ohrrpgce
teeemcee
2024-02-07 19:45:10 -0800 (Wed, 07 Feb 2024)
191
More parser_tests.hss for catching name clashes

Turns out that until r13499 you could declare a global and a script with the
same name if the script was first. So added that to whatsnew.txt.
---
U   wip/hspeak.exw
U   wip/testgame/parser_tests.hss
U   wip/whatsnew.txt

___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: teeemcee/13500 hspeak: better srcpos info to track the position & length of tokens [Pat

2024-02-07 Thread Quasar Nebula via Ohrrpgce
We got 40 or so emails from the OHR this morning and were all - “Ooo!? What’s 
this excitement all about!?”

It turns out, more than 100% justified! Congratulations on merging this! 
Getting way-old work (that was still good work, but needed revisiting) up to 
date and merged is maybe one of the best long-term project feelings. Also, I 
love debugging and dev-friendliness improvements, haha.

Love to see the energy and enjoyment :)
QN!

> On Feb 7, 2024, at 3:09 AM, subversion--- via Ohrrpgce 
>  wrote:
>
> teeemcee
> 2024-02-06 23:09:39 -0800 (Tue, 06 Feb 2024)
> 450
> hspeak: better srcpos info to track the position & length of tokens [Patch 
> from 2014!]
>
> HSpeak now uses spans of 's to indicates whole tokens in errors rather 
> than
> just where they start.
>
> Into 32 bits each srcpos now tracks:
> -the offset in the source code (which has to be looked-up to find the file, 
> line
> & column), max 8MB
> -the length of the token (max 254 characters)
> -whether the token is virtual, meaning it was added (e.g. an empty else())
> ---
> U wip/hspeak.exw
>
> ___
> Ohrrpgce mailing list
> ohrrpgce@lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: teeemcee/13500 hspeak: better srcpos info to track the position & length of tokens [Pat

2024-02-07 Thread James Paige via Ohrrpgce
These commit messages were a joy to read ♥️

Happy to see this merged

On Wed, Feb 7, 2024, 5:34 AM Ralph Versteegen via Ohrrpgce <
ohrrpgce@lists.motherhamster.org> wrote:

> This patch, and many of the following ones, date back nine and a half
> years, and it's been my biggest unmerged branch for all that time. It's
> great to finally be going in the right direction, and I'm eyeing up several
> other big branches for merging soon. This commit's original commit message
> was "script line number reporting: 99.5% complete!" Of course that turned
> out to be ridiculous. I returned to it in 2017 to fix bugs, and then in May
> last year I got it into a working state and did most of the script debugger
> improvements. I just spent a day rewriting the history to take apart all
> the commits and put them back together with less cruft, but it wasn't
> terribly necessary and I can't explain why it took me so long.
>
> On Wed, 7 Feb 2024 at 20:09, subversion--- via Ohrrpgce <
> ohrrpgce@lists.motherhamster.org> wrote:
>
>> teeemcee
>> 2024-02-06 23:09:39 -0800 (Tue, 06 Feb 2024)
>> 450
>> hspeak: better srcpos info to track the position & length of tokens
>> [Patch from 2014!]
>>
>> HSpeak now uses spans of 's to indicates whole tokens in errors
>> rather than
>> just where they start.
>>
>> Into 32 bits each srcpos now tracks:
>> -the offset in the source code (which has to be looked-up to find the
>> file, line
>>  & column), max 8MB
>> -the length of the token (max 254 characters)
>> -whether the token is virtual, meaning it was added (e.g. an empty else())
>> ---
>> U   wip/hspeak.exw
>>
>> ___
>> Ohrrpgce mailing list
>> ohrrpgce@lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
> ___
> Ohrrpgce mailing list
> ohrrpgce@lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org


Re: [Ohrrpgce] SVN: teeemcee/13500 hspeak: better srcpos info to track the position & length of tokens [Pat

2024-02-07 Thread Ralph Versteegen via Ohrrpgce
This patch, and many of the following ones, date back nine and a half
years, and it's been my biggest unmerged branch for all that time. It's
great to finally be going in the right direction, and I'm eyeing up several
other big branches for merging soon. This commit's original commit message
was "script line number reporting: 99.5% complete!" Of course that turned
out to be ridiculous. I returned to it in 2017 to fix bugs, and then in May
last year I got it into a working state and did most of the script debugger
improvements. I just spent a day rewriting the history to take apart all
the commits and put them back together with less cruft, but it wasn't
terribly necessary and I can't explain why it took me so long.

On Wed, 7 Feb 2024 at 20:09, subversion--- via Ohrrpgce <
ohrrpgce@lists.motherhamster.org> wrote:

> teeemcee
> 2024-02-06 23:09:39 -0800 (Tue, 06 Feb 2024)
> 450
> hspeak: better srcpos info to track the position & length of tokens [Patch
> from 2014!]
>
> HSpeak now uses spans of 's to indicates whole tokens in errors rather
> than
> just where they start.
>
> Into 32 bits each srcpos now tracks:
> -the offset in the source code (which has to be looked-up to find the
> file, line
>  & column), max 8MB
> -the length of the token (max 254 characters)
> -whether the token is virtual, meaning it was added (e.g. an empty else())
> ---
> U   wip/hspeak.exw
>
> ___
> Ohrrpgce mailing list
> ohrrpgce@lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
___
Ohrrpgce mailing list
ohrrpgce@lists.motherhamster.org
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org