Commit graph

11 commits

Author SHA1 Message Date
Александр Земляк c69daac622
Рефакторинг таблицы символов, чтобы заполнялся только один словарь (#3417)
* Refactor SymbolTable to improve architecture

* Fix PABCSystem function calls in SPython standard modules

* Fix names search in SymbolTable and CollectNamesFromUsedUnits in Compiler

* Add SemanticRulesConstants.SymbolTableCaseSensitive setting in pcu reader

* Fix case sensitive search in DSSymbolTable class

* Add case sensitive search test cases for SPython

* Leave only one dictionary in SymbolsDictionary class

* Refactor Find function in SymbolsDictionary

* Fix math.pys module

* Fix str.pys

* Imrove Find method in SymbolsDictionary

* DefaultIfEmpty was wrong - need to use Any()
2026-04-06 22:41:26 +03:00
Александр Земляк 2e678bf965
Добавление стандартных имен в фиктивный модуль вместо стандартного модуля в Intellisense (#3387)
* Add forIntellisense checks in NameCorrectVisitor

* Refactor standard names adding in Intellisense

* Edit tuples compilation sample for SPython

* Delete char type in SPython Intellisense

* Fix ProcRealization documentation initialization

Нужно, чтобы метод WithRefreshedDescription корректно работал, когда описание задается вручную.
2026-02-25 21:39:38 +03:00
Александр Земляк e6ba1324a5
Отключение копирования Lib файлов в CompilationSamples в TestRunner (#3386)
* Delete PascalABC.NET Lib files from CompilationSamples

* Delete SPython Lib files from CompilationSamples

* Delete DataFrameABC from CompilationSamples

* Delete copying Lib files in TestRunner + set up copying CodeExamples in separate dir
2026-02-03 12:10:31 +03:00
Александр Земляк 137c0599af
Удаление Lib файлов из CompilationSamples (#3385)
* Delete PascalABC.NET Lib files from CompilationSamples

* Delete SPython Lib files from CompilationSamples

* Delete DataFrameABC from CompilationSamples
2026-02-03 09:52:33 +03:00
Александр Земляк b8bda89f0f
Исправление div (//) и mod (%) для SPython (#3384)
* Fix div and mod in SPython

* Fix generic type names search in SPython symbol table

* Small fixes

* Add few checks in Intellisense

* Add comments about units compilation order
2026-02-02 21:14:27 +03:00
Mikhalkovich Stanislav 740f18362a 3.11.1.3743 2026-02-02 14:19:47 +03:00
Александр Земляк 2c30b73b08
SPython: неявное преобразование int в bool и bool в int (#3383)
* Implement bool to int and int to bool implicit conversion for SPython

* Change "and", "or" and "not" operations to be logical in SPython

* Add standard functions' overloads (all, any, sum)
2026-02-02 12:01:18 +03:00
Александр Земляк 42d7ca97a3
Рефакторинг визитора SPython и исправление global statetement (#3375)
* Delete nameTypes dictionary in SymbolTable

* Refactor SymbolTableFillingVisitor

* Disallow dotted idents in global statement
2026-01-16 21:51:17 +03:00
Mikhalkovich Stanislav 2d09016310 GenerateAllSetups восстановил 2026-01-03 01:04:53 +03:00
Mikhalkovich Stanislav 8de8af7320 NodesGenerator - отключил генерацию ненужного hierarchyVisitor
GenegateAllSetups - отключил тесты SPython - не проходят на некоторых компьютерах
2026-01-02 10:58:07 +03:00
Александр Земляк 17f6a9b956
Spython test suite (#3362)
* Reorganize files in TestSuite dir for multiple languages

* Add SPython samples to TestSuite

* Update TestRunner to support multiple languages

* Delete dll files accidentally pushed

* Update .gitignore

* Revert "Delete dll files accidentally pushed"

This reverts commit 62bcba2b821d58ae51ec98e9dadcf621bb0fc003.

* Update testing dir path in Testing.cs

* Improve TestRunner output

* Add random module and it's usage sample

* Reorganize gitignore files

* Move pascal tests back to TestSuite and create new TestSuiteLanguagePlugins folder for SPython

* Revert "Update testing dir path in Testing.cs"

This reverts commit 7d94eafb25292421bce8315520b4f6a0de001bbd.

* Revert crlf changes in pascal tests

* Test changes of _RebuildReleaseAndRunTestsForGitHubActions.bat

* Revert "Test changes of _RebuildReleaseAndRunTestsForGitHubActions.bat"

This reverts commit 234ceae3e3a339fbc68a6170e2bd201dab14d67d.

* Test changes in StorageLocationPicker

* Another test changes in StorageLocationPicker.cs

* Rename LanguagePlugins folder to AdditionalLanguages

* Decouple TestRunner from language names and parameters

* Revert calling TestRunner without parameters in .bat files

* Fix formatter tests nogui exception handling

* Small refactoring in Testing.cs and TestRunner fix of working directory
2025-12-21 21:11:52 +03:00