Commit graph

50 commits

Author SHA1 Message Date
Mikhalkovich Stanislav c2347e604b Примеры - устранил неточности
LightPT - имя сервера вынес в публичную секцию
2025-01-04 14:44:51 +03:00
Mikhalkovich Stanislav 8a9788e6f9 Перенес проверку set array на уровень парсера
Немного поправил Intellisense по наведению для NewSet

По точке там что то другое работает
2024-12-17 15:06:57 +03: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 efb4a4338f
New checks for directives added (#3099)
* Extract base classes from ParserTools (local) and GPPGParserHelper

* Fix string resources error

* Extract base class for unexpected token error

* Update ParserTools project file

* Add comments for compiler directives usages in compiler

* Add directives checks

* Move string constants to new project

* Implement scalable directives checks

* Remove known directives from compiler

* Fix PABCSystem namespace error

* Allow region and endregion with no params

* Allow parameters to endif directive

* Delete directive parameters extension checks

* Replace error with warning for uknown directive case

* Fix generate native code (semantic rule) assigning

* Improve error messages for directives

* Rename RunParseThread to SwitchOnIntellisence

Для отладки может требоваться отключение Intellisence на уровне кода. Для понятности метод назван SwitchOnIntellisence.

* Resolve merge conflicts

* Add new compiler errors for unsupported target framework and output file type

* Add documentation to directives checks

* Fix directives check loop
2024-05-04 20:21:50 +03:00
Ivan Bondarev 0e25b58737 fix in intellisense 2024-04-25 20:39:21 +02: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
Mikhalkovich Stanislav e3027f6a6a Digits с основанием в School 2023-02-10 22:35:14 +03:00
Ivan Bondarev ff230aa1f2 fix #2749 2022-12-26 11:14:23 +01:00
Mikhalkovich Stanislav c0b24ef4d4 GenerateLinuxVersion - изменил
Форма под Linux - сделал невидимыми часть пунктов меню
Обновление под Linux открывает браузер
2022-10-23 18:41:35 +03:00
Ivan Bondarev d3b3749d2f fix pascalabcnet/pascalabcnetide#73 2021-08-13 16:17:42 +02:00
Ivan Bondarev ede48fae0a fix pascalabcnet/pascalabcnetide#205 2021-02-28 10:51:31 +01:00
SunSerega 9fee3a29d0 SearchDir 2020-07-17 07:02:36 +03:00
Бондарев Иван a245ece51d fix pascalabcnet/pascalabcnetide#102 2019-12-26 13:25:52 +01:00
Бондарев Иван b4ec2405a4 fix pascalabcnet/pascalabcnetide#14 2019-12-25 12:27:01 +01:00
Бондарев Иван 9799b462a5 fix pascalabcnet/pascalabcnetide#118 2019-12-24 16:23:34 +01:00
Mikhalkovich Stanislav e603b1fd6d Mikhalkovich в Copyright
Заготовка для школьного плагина образцов кода
2019-07-28 23:53:15 +03:00
Бондарев Иван 05e4198ab4 fix pascalabcnet/pascalabcnetide#124 2019-06-23 12:47:20 +02:00
Mikhalkovich Stanislav 357dce8e63 Исправление некоторых предупреждений и комментарии в select_function 2019-06-07 00:06:11 +03:00
Бондарев Иван 78a8c6b5af fix #1837 2019-03-10 14:05:20 +01:00
Бондарев Иван 445af3cbb0 fix #1623 2018-12-30 21:37:40 +01:00
Бондарев Иван 2d2e1af28b fix #1513 2018-11-25 21:15:11 +01:00
Бондарев Иван 56bcaf2375 fix #1527 2018-11-25 20:01:56 +01:00
Бондарев Иван 02485bfb57 fix #1353 2018-10-14 14:50:29 +02:00
Бондарев Иван 0df4e58012 fix #892 2018-06-05 20:26:36 +02:00
Бондарев Иван bacf51ef63 fix #784 2018-05-23 20:27:36 +02:00
Бондарев Иван d8adcc44bc bug fix #805 2018-05-05 17:19:32 +02:00
Бондарев Иван 5305657e43 bug fix #720 2018-03-18 14:44:30 +01:00
Бондарев Иван 04c90b47f9 bug fix #692 2018-03-04 12:40:37 +01:00
Бондарев Иван 5e2a7d7014 bug fix #650 2018-01-09 20:26:04 +01:00
Бондарев Иван 689e277c23 bug fix #645 2018-01-08 20:02:39 +01:00
Бондарев Иван d4fd6f88e5 memory improvements in intellisense 2017-12-30 15:46:38 +01:00
Бондарев Иван 4b77e4822c bug fix #624 2017-12-29 20:04:24 +01:00
Бондарев Иван bab33a265b #512 2017-10-08 15:11:13 +02:00
Бондарев Иван 4d044ed6a0 bug fix #494 2017-09-25 21:15:35 +02:00
Бондарев Иван 33f5e7daf1 add loop, sequence, yield to ctrl+space window (#473) 2017-08-25 17:37:16 +02:00
Бондарев Иван dfe2c757c2 bug fix #455 2017-08-11 14:37:35 +02:00
Бондарев Иван 22e529d3bd bug fix #360 2017-03-02 20:27:17 +01:00
Бондарев Иван cd94c120ac text editor: force replace tabs to spaces 2017-02-28 20:59:35 +01:00
Бондарев Иван 556819ee42 bug fix #344 2017-02-19 10:58:42 +01:00
Бондарев Иван a19ba42f98 bug fix #342 2017-02-12 20:48:33 +01:00
Бондарев Иван 5d9c774ea0 bug fix #323 2016-12-29 16:19:14 +01:00
Бондарев Иван 003c3c9983 Добавлено предупреждение: Использование нелокальной переменной в качестве счетчика цикла 2016-09-15 20:13:02 +02:00
Бондарев Иван 1d6dfe245a bug fix #262 2016-08-03 20:33:50 +02:00
miks1965 c6eaba8f94 Множество правок, связанных с yield.
В частности, изменен алгоритм генерации конечного автомата, поправлен код для GetEnumerator и проч.
2016-07-08 23:20:56 +03:00
Бондарев Иван 7826767d80 intellisense tests in test suite 2016-05-06 13:56:19 +02:00
Бондарев Иван 2aa214ff3b #140 2016-05-01 12:02:40 +02:00
Бондарев Иван b300e184c2 find references/rename in where block 2015-12-06 19:25:05 +01:00
Бондарев Иван 092d84d664 added license info in source files 2015-06-01 21:15:17 +02:00
Бондарев Иван 39d8f6eece intellisense improvements 2015-05-21 22:09:31 +02:00
Бондарев Иван e6e67c193c initial commit 2015-05-14 21:35:07 +02:00