zilf merge requestshttps://foss.heptapod.net/zilf/zilf/-/merge_requests2023-05-01T22:55:55Zhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/32Fixed PROPDEF DIRECTIONS incorrectly defining an actual DIRECTIONS property.2023-05-01T22:55:55ZTara McGrewFixed PROPDEF DIRECTIONS incorrectly defining an actual DIRECTIONS property.[ZILF-239][ZILF-239]0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/31Upgrade project to .NET 72023-04-07T19:41:42ZTara McGrewUpgrade project to .NET 7.NET 5 is [no longer supported](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core).
.NET 7 will be supported until May 2024..NET 5 is [no longer supported](https://dotnet.microsoft.com/en-us/platform/support/policy/dotnet-core).
.NET 7 will be supported until May 2024.0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/30Require clauses in Z-code COND statements to be either FALSEs or non-empty2021-08-11T06:17:55ZTara McGrewRequire clauses in Z-code COND statements to be either FALSEs or non-emptyLISTs. This fixes an issue where omitting the parens around a clause would cause
the FORMs inside to be treated as individual clauses (as if they were lists),
producing unexpected behavior and confusing warnings.
Note that clauses under...LISTs. This fixes an issue where omitting the parens around a clause would cause
the FORMs inside to be treated as individual clauses (as if they were lists),
producing unexpected behavior and confusing warnings.
Note that clauses undergo macro expansion first, so a FORM can still appear
where a clause is expected, as long as it's a macro invocation expanding to a
FALSE or non-empty LIST.
[ZILF-212]0.10https://foss.heptapod.net/zilf/zilf/-/merge_requests/29Change OldParserWord.Merge to overwrite old part-of-speech values if applicable.2022-04-19T09:54:31ZTara McGrewChange OldParserWord.Merge to overwrite old part-of-speech values if applicable.This fixes an issue where two words that were both used as prepositions couldn't
be made synonymous. [ZILF-230]
This touches an arcane part of the compiler and needs more thorough testing.This fixes an issue where two words that were both used as prepositions couldn't
be made synonymous. [ZILF-230]
This touches an arcane part of the compiler and needs more thorough testing.0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/28Issue warning MDL0430 for tables defined with a length prefix that's too narr...2021-08-11T01:59:47ZTara McGrewIssue warning MDL0430 for tables defined with a length prefix that's too narrow to hold the number of elements. [ZILF-220]0.10https://foss.heptapod.net/zilf/zilf/-/merge_requests/27Warn about unescaped apostrophes in object words2021-07-30T04:38:47ZTara McGrewWarn about unescaped apostrophes in object wordsIssue warning MDL0429 for suspicious quoted elements in a SYNONYM or ADJECTIVE property, where the user probably forgot to escape an apostrophe. [ZILF-105]Issue warning MDL0429 for suspicious quoted elements in a SYNONYM or ADJECTIVE property, where the user probably forgot to escape an apostrophe. [ZILF-105]0.10https://foss.heptapod.net/zilf/zilf/-/merge_requests/26Topic/default/cleanup2021-07-30T03:19:10ZTara McGrewTopic/default/cleanup0.10https://foss.heptapod.net/zilf/zilf/-/merge_requests/25Issue warning ZIL0310 when the vocab resolution limit causes words to be merged.2021-07-11T13:47:17ZTara McGrewIssue warning ZIL0310 when the vocab resolution limit causes words to be merged.Info ZIL0311 is also added if the cause is specifically V3's lower resolution.
[ZILF-71]Info ZIL0311 is also added if the cause is specifically V3's lower resolution.
[ZILF-71]0.10https://foss.heptapod.net/zilf/zilf/-/merge_requests/24Prioritize abbreviations in StringEncoder to reduce encoded text size2021-07-09T19:50:21ZTara McGrewPrioritize abbreviations in StringEncoder to reduce encoded text sizeCurrently, StringEncoder applies abbreviations in a predetermined order, replacing every occurrence of one abbreviation before moving on to the next. This change, based on Matthew Russotto's implementation of R. A. Wagner's optimal parse...Currently, StringEncoder applies abbreviations in a predetermined order, replacing every occurrence of one abbreviation before moving on to the next. This change, based on Matthew Russotto's implementation of R. A. Wagner's optimal parse algorithm, instead analyzes each plaintext string and applies abbreviations in a dynamic order that minimizes the length of the encoded string. [ZILF-236]0.10https://foss.heptapod.net/zilf/zilf/-/merge_requests/23Fixed "=" showing up as "Eq" in printed form of ComplexPropDef. [ZILF-207]2021-07-07T09:11:29ZTara McGrewFixed "=" showing up as "Eq" in printed form of ComplexPropDef. [ZILF-207]0.10https://foss.heptapod.net/zilf/zilf/-/merge_requests/22Changed MIN and MAX to allow 0 args. [ZILF-202]2021-07-07T08:59:54ZTara McGrewChanged MIN and MAX to allow 0 args. [ZILF-202]<MIN> returns int.MaxValue, and <MAX> returns int.MinValue.<MIN> returns int.MaxValue, and <MAX> returns int.MinValue.0.10https://foss.heptapod.net/zilf/zilf/-/merge_requests/18Zilf.Emit.Zap: Write real abbreviations when the frequent words file is missing2021-03-07T03:13:30ZTara McGrewZilf.Emit.Zap: Write real abbreviations when the frequent words file is missingRecent improvements to the abbreviation finder have made it fast enough to run by default, even on single-threaded systems. This changes ZILF to generate abbreviations when the frequent words file is missing, instead of writing a placeho...Recent improvements to the abbreviation finder have made it fast enough to run by default, even on single-threaded systems. This changes ZILF to generate abbreviations when the frequent words file is missing, instead of writing a placeholder file.
Fixes ZILF-201.0.10https://foss.heptapod.net/zilf/zilf/-/merge_requests/15Speed up abbreviation search using a Generalized Suffix Tree2020-12-29T18:33:55ZTara McGrewSpeed up abbreviation search using a Generalized Suffix TreeThis is based on the approach described by Matthew Russotto at <https://intfiction.org/t/highly-optimized-abbreviations-computed-efficiently/48753>.
Fixes ZILF-231.This is based on the approach described by Matthew Russotto at <https://intfiction.org/t/highly-optimized-abbreviations-computed-efficiently/48753>.
Fixes ZILF-231.0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/14Update to .NET 5 RC2020-11-07T07:05:15ZTara McGrewUpdate to .NET 5 RCC# 9 will be released next week as part of .NET 5. This merge request updates the ZILF projects to take advantage of new language features and build under the latest .NET 5 RC.
* The CI pipeline now runs on the .NET 5.0 SDK image instea...C# 9 will be released next week as part of .NET 5. This merge request updates the ZILF projects to take advantage of new language features and build under the latest .NET 5 RC.
* The CI pipeline now runs on the .NET 5.0 SDK image instead of .NET Core 3.1 SDK.
* ZilfAnalyzers.Vsix was removed: it was blocking the analyzers from using .NET Core-only language features, and analyzers don't need to be built as VS packages anyway.
* JetBrains.Annotations was removed, and the annotations were migrated to .NET nullability contract attributes where applicable.0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/13Use TranslateString instead of ToStringContext for the DESC pseudo-property.2020-10-30T22:39:24ZTara McGrewUse TranslateString instead of ToStringContext for the DESC pseudo-property.Fixes ZILF-222.Fixes ZILF-222.0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/12Fix handling of local variables in GO routine2020-10-30T22:28:34ZTara McGrewFix handling of local variables in GO routineAllow "OPT" and "AUX" variables in V6 GO routines, and give better diagnostic messages for the disallowed cases (required arguments in V6; any local variables in other versions).
Fixes ZILF-210.Allow "OPT" and "AUX" variables in V6 GO routines, and give better diagnostic messages for the disallowed cases (required arguments in V6; any local variables in other versions).
Fixes ZILF-210.0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/11Change ZilForm.ExactlyEquals so that two empty FORMs are considered ==?.2020-10-30T19:46:07ZTara McGrewChange ZilForm.ExactlyEquals so that two empty FORMs are considered ==?.(h/t Roman Bartke) [ZILF-206](h/t Roman Bartke) [ZILF-206]0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/9Update projects to .NET Core 3.12020-10-13T22:48:16ZTara McGrewUpdate projects to .NET Core 3.1This updates the projects to .NET Core 3.1 (.NET Standard 2.1), including various C# language improvements.
It also updates the build scripts to resolve the packaging bug ZILF-217, which reproduced more reliably after updating to .NET C...This updates the projects to .NET Core 3.1 (.NET Standard 2.1), including various C# language improvements.
It also updates the build scripts to resolve the packaging bug ZILF-217, which reproduced more reliably after updating to .NET Core 3.1.0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/8Fix build/test pipeline2020-09-20T05:57:36ZTara McGrewFix build/test pipeline* Add the .sln filename to fix 'dotnet restore' and 'dotnet test' commands.
* Ignore .nuget directory.
* Fix platform-specific assumptions that caused some test to fail.
* Exclude the Roslyn code analyzer from CI builds and test runs.* Add the .sln filename to fix 'dotnet restore' and 'dotnet test' commands.
* Ignore .nuget directory.
* Fix platform-specific assumptions that caused some test to fail.
* Exclude the Roslyn code analyzer from CI builds and test runs.0.10Tara McGrewTara McGrewhttps://foss.heptapod.net/zilf/zilf/-/merge_requests/33Fix unhandled exception when using a macro in a call to TABLE builtins2024-03-01T11:38:15ZTara McGrewFix unhandled exception when using a macro in a call to TABLE builtinsThis fixes a bug where calling TABLE (or LTABLE, etc.) inside a routine with a macro call as one of its arguments would throw an unhandled exception. [ZILF-252]This fixes a bug where calling TABLE (or LTABLE, etc.) inside a routine with a macro call as one of its arguments would throw an unhandled exception. [ZILF-252]