Commit graph

38 commits

Author SHA1 Message Date
Александр Земляк 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
Александр Земляк 51e4ae050a
Перемещение модулей SPython в Lib\SPython (#3371)
* Replace languageCaseSensitive by languageName data in PCU and caseSensitive parameters in Compiler functions

* Implement SearchDirectories filling in Compiler and move SPython standard modules to their new directory

* Implement search using current language extension first in Compiler

* Delete LibForVB folder and update TestRunner to support different Lib dirs

* Update installer scripts to create separate Lib folder for SPython

* Take into account Lib dirs not found

* Delete supportedSourceFiles variable in Compiler

* Delete unused functions from LanguageIntegrator
2026-01-13 08:20:13 +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
Sun Serega fb7c3988e6
Don't skip PCU errors in CompileAllUnits 2024-06-23 20:38:23 +02:00
AlexanderZemlyak 342375501b
New languages engine (#3120)
* Implement first version of languages interfaces and classes

ParsersController заменен на LanguageProvider.

* Update ParserTools.csproj

* Update RemoteCompiler.cs

* Update TestRunner

* Rename LanguageIntegrator project to Languages

* Update TestRunner

* Rename Parsers folder

* Rename PascalABCParser.dll to PascalABCLanguage.dll

* Reorganise LanguageIntegrator and rename DocTagsParser

* Update Release Generators

* Update language loading messages

* Update linux version

* Move BaseParser fields to ILanguage interface

* Revert "Update Release Generators"

This reverts commit 26a991c71b81e643d9fbd9a815ddca222768dda9.

* Revert "Rename PascalABCParser.dll to PascalABCLanguage.dll"

* Clean the mess in parser folders

* Organize namespaces properly

* Revert "Rename LanguageIntegrator project to Languages"

* Add new enclosing folders for standard languages

* Organize namespaces of LanguageIntegrator properly

* Rename StandardLanguages to Languages

* Comment the rest of Visual basic source code

* Update OutputPath in pascal parser project

* Move BaseParser methods to IParser

* Restore Pascal parser project initial structure

* Add PascalLanguage project

* Move SyntaxTreeConverters project to Languages\Pascal folder

* Rename SemanticRules in parser project

* Rename Errors1 to Errors in parser project

* Delete LambdaConverter dll from installer

* Update language integrator to load *Language.dll files

* Move lambda converter project to pascal lanuage dir

* Revert "Delete LambdaConverter dll from installer"

This reverts commit dd56f559ebe4f8c4c5c33752d44e6953001b96a5.

* Switch off VBNETParser building

* Delete syntax tree converters controller

* Delete lambda converter dll from repository

* Reorganize syntax tree to semantic tree conversion stage

* Add BaseLanguage class to make language initialization more neat

* Delete syntax tree post processors entity from ILanguage and refactor ABCStatistics calls

* Add new IDocParser interface for documentation comments parser

* Clean up folders

* Add helper data structures to reduce parameters amount in CompileInterface and CompileImplementation

* Add documentation to language classes

* Move Union struct in global namespace and project (ParserTools)

* Add more comments and a safe select language method

* Rename SemanticRules class

* Fix directives format null bug

* Add System.Linq ref to LanguageIntegrator

* Delete SyntaxToSemanticTreeConverter interface

* Add BaseSyntaxTreeConverter

* Call safe select language method in intellisence

* Delete source files providers from parsers

* Rename GetSyntaxTree method

* Change Prebuild tree to be virtual - not abstract

* Refresh documentation a bit

* Add temporary language check for ABCHealth button

* Add parser reference to parser tools

* Move current compilation unit assigning higher to avoid bug with unit check

* Delete null DirectiveInfo's and refactor directives' code

* Add a few more comments
2024-05-25 12:26:32 +03:00
AlexanderZemlyak 0ae7595f0d
Implement programming languages integration functionality (#3001)
* Make standardModules Dictionary instead of LanguageId usage

* Create new common string constants for pascal language

* Add LanguagesData class template

* Move some compiler directive string constants to Compiler project

* Extract LanguagesData class to separate file

Also extracted RuntimeServiceModule (IO-modules) management to new functions.

* Fix pabcnetc crashing (KeyNotFoundException)

* Make similar change in pabcnetc_clear

* Return PABCExtensions in DomConverter.cs

* Return compiler string constants to Tree Converter

* Rename MoveSystemUnitForward method

* Rename system unit variable

* Add new parser load error (localized versions)

* Fix pascal language name constant

* Add system units property to parsers

* Add LanguageKits directory with a test file

* Implement language integrator

Был реализован загрузчик комплектов дополнительных языков (всех кроме Pascal). Был пересмотрен подход к реализации ParsersController и этот класс сделан синглтоном. Добавлена загрузка стандартных модулей языков в CompilerOptions.

* Squashed commit of the following:

commit 8f9dc7e5a0
Author: Mikhalkovich Stanislav <miks@math.sfedu.ru>
Date:   Mon Mar 11 20:33:13 2024 +0300

    fix #3050

commit 90363ced45
Author: Mikhalkovich Stanislav <miks@math.sfedu.ru>
Date:   Sun Mar 3 21:37:25 2024 +0300

    Недобитки при сортировке строк

commit c9d7ba7758
Author: Mikhalkovich Stanislav <miks@math.sfedu.ru>
Date:   Sat Mar 2 13:32:14 2024 +0300

    Order и OrderDescending для строк с Ordinal

commit 6fbc0200bf
Author: AlexanderZemlyak <92867056+AlexanderZemlyak@users.noreply.github.com>
Date:   Tue Feb 27 23:21:26 2024 +0300

    Fix interface loop dependency check (#3047)

    Tests for problematic case were added

commit e4d63bfef9
Author: bormant <bormant@mail.ru>
Date:   Tue Feb 27 23:18:25 2024 +0300

    Fix typo: C (ru) -> C (en) (#3042)

commit 0d37232d21
Author: Mikhalkovich Stanislav <miks@math.sfedu.ru>
Date:   Tue Feb 27 19:15:08 2024 +0300

    School - исправление пустого диапазона простых и IP-адресов

commit 9fd4c7f338
Merge: 3cca2a89 6027083b
Author: Ivan Bondarev <ibond84@googlemail.com>
Date:   Wed Feb 21 20:57:10 2024 +0100

    Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet

commit 3cca2a8949
Author: Ivan Bondarev <ibond84@googlemail.com>
Date:   Wed Feb 21 20:56:49 2024 +0100

    fix in formatter
2024-03-13 22:16:40 +03:00
Ivan Bondarev 66ba00972f #2785 2024-01-04 15:32:19 +01:00
Sun Serega 7132c64f1e gitignore rework 2023-08-14 00:17:41 +03:00
Ivan Bondarev 42780f2e06 fix in TestRunner 2021-10-31 13:48:32 +01:00
Ivan Bondarev 5548def725 #2533 2021-10-17 12:04:24 +02:00
Ivan Bondarev 4c340ee1e1 detailed log in testrunner (for mono) 2021-04-18 17:40:56 +02:00
Ivan Bondarev 4b08a823a7 TestRunner for CI workflow 2021-01-05 13:50:31 +01:00
Ivan Bondarev 8121673c9b tt 2021-01-05 12:53:09 +01:00
Ivan Bondarev 537fc0ee68 test assert 2021-01-05 12:32:21 +01:00
Ivan Bondarev 2ae6eadcb4 performance improvements in TestRunner 2021-01-02 14:49:05 +01:00
Ivan Bondarev b678e532b3 fix #2101 2020-12-26 18:05:31 +01:00
Mikhalkovich Stanislav 839d52605c Ускорен ввод в PABCSystem в 3-5 раз (!!) 2020-01-31 00:52:14 +03:00
Бондарев Иван c6b852f373 bug fix #1502 2019-10-06 12:38:27 +02:00
Бондарев Иван 01afc8b35b Оптимизировал TestRunner, разделив на отдельные вызовы 2019-10-04 15:40:51 +02:00
Mikhalkovich Stanislav e603b1fd6d Mikhalkovich в Copyright
Заготовка для школьного плагина образцов кода
2019-07-28 23:53:15 +03:00
Бондарев Иван 818bd7acd6 fix #2015 2019-06-30 14:22:24 +02:00
Бондарев Иван 88d406d9b6 fix in patterns 2018-06-03 19:49:55 +02:00
Бондарев Иван eb7bff3077 bug fix #833 2018-05-20 14:18:29 +02:00
Бондарев Иван ebcf0d44f6 fix TestRunner 2018-05-13 14:19:54 +02:00
miks1965 d0f93fcacf Удалил тест, который почему-то не работает в 32-битном режиме, хотя и должен 2018-05-10 18:10:59 +03:00
Бондарев Иван d200e3d616 bug fix #647 2018-01-30 20:39:20 +01:00
Бондарев Иван c91e2e76e8 bug fix #50 2016-05-15 21:01:40 +02:00
miks1965 857b5a478c r.ToString(2) в PABCSystem 2016-05-08 21:27:29 +03:00
Бондарев Иван 47b50802b4 bug fix 2016-05-08 19:45:37 +02:00
Бондарев Иван 7826767d80 intellisense tests in test suite 2016-05-06 13:56:19 +02:00
Бондарев Иван 9ef6e77ee9 fix in TestRunner: removing mdb files 2015-12-30 14:43:28 +01:00
Бондарев Иван f470ba9c93 comment //winonly for tests (excludes test from testing in mono) 2015-12-29 19:05:42 +01:00
Бондарев Иван e9d8219af1 fixing TestRunner for Linux 2015-12-29 15:56:29 +01:00
Бондарев Иван 52a2ab7a2b fix in TestRunner.pas 2015-12-28 19:46:36 +01:00
miks1965 808882771d Что-то не то с форматтером. Тесты не проходят 2015-08-02 18:28:08 +03:00
Бондарев Иван b59c654b24 bug fix 2015-06-12 20:59:28 +02:00
Бондарев Иван e11ebef2f8 MPGORunner and TestRunner modified 2015-05-15 11:35:40 +02:00
Бондарев Иван e6e67c193c initial commit 2015-05-14 21:35:07 +02:00