Commit graph

4890 commits

Author SHA1 Message Date
Mikhalkovich Stanislav 17d5c48dd8 3.9.0.3503 2024-07-08 23:34:58 +03:00
nevermind322 f680461234
Assign tuple optimizer (#3162)
* branch init

* add BindCollectLightSymInfo

* moved lightsyminfo to syntaxVisitors

* LIghtSymInfo fixes

* binder 0.1

* Attributes -> SymbolAttributes

* AssignTupleOptimizer -> AssignTupleDesugar

* moved algorithm classes to AssignTupleDesugarAlgorithm namespace

* fixes and refactoring

* LightSymInfo rework

* add rebuildDebug and build units

* enable VarNamesInMethodsWithSameNameAsClassGenericParamsReplacer

* remove CollectFullLightSymInfo call

* bind now return BindResult

* change BindResult path type

* path testing

* fix Current in BindCollectLightSymInfo

* fix Current in BindCollectLightSymInfo

* potential symomyms handling without assigns count minimization

* assign count minimization

* rename AssignTuplesDesugar

* move NewAssignTupleDesugar

* add optimization switch

* delete AssignTupleDesugar project

* remove comments

* Assign tuple optimizer (#3142)

* branch init

* add BindCollectLightSymInfo

* moved lightsyminfo to syntaxVisitors

* LIghtSymInfo fixes

* binder 0.1

* Attributes -> SymbolAttributes

* AssignTupleOptimizer -> AssignTupleDesugar

* moved algorithm classes to AssignTupleDesugarAlgorithm namespace

* fixes and refactoring

* LightSymInfo rework

* add rebuildDebug and build units

* enable VarNamesInMethodsWithSameNameAsClassGenericParamsReplacer

* remove CollectFullLightSymInfo call

* bind now return BindResult

* change BindResult path type

* path testing

* fix Current in BindCollectLightSymInfo

* fix Current in BindCollectLightSymInfo

* potential symomyms handling without assigns count minimization

* assign count minimization

* rename AssignTuplesDesugar

* move NewAssignTupleDesugar

* add optimization switch

* delete AssignTupleDesugar project

* remove comments

* collect symbols from var tuples

* optimize var_tuple_def_statement and assign_var_tuple

* fix

* fix Tuple Visitor

* fix CollectLightSymInfo (#3143)

* branch init

* add BindCollectLightSymInfo

* moved lightsyminfo to syntaxVisitors

* LIghtSymInfo fixes

* binder 0.1

* Attributes -> SymbolAttributes

* AssignTupleOptimizer -> AssignTupleDesugar

* moved algorithm classes to AssignTupleDesugarAlgorithm namespace

* fixes and refactoring

* LightSymInfo rework

* add rebuildDebug and build units

* enable VarNamesInMethodsWithSameNameAsClassGenericParamsReplacer

* remove CollectFullLightSymInfo call

* bind now return BindResult

* change BindResult path type

* path testing

* fix Current in BindCollectLightSymInfo

* fix Current in BindCollectLightSymInfo

* potential symomyms handling without assigns count minimization

* assign count minimization

* rename AssignTuplesDesugar

* move NewAssignTupleDesugar

* add optimization switch

* delete AssignTupleDesugar project

* remove comments

* collect symbols from var tuples

* optimize var_tuple_def_statement and assign_var_tuple

* fix

* fix Tuple Visitor

* 3.9.0.3489

* fix

* Assign tuple optimizer (#3147)

* branch init

* add BindCollectLightSymInfo

* moved lightsyminfo to syntaxVisitors

* LIghtSymInfo fixes

* binder 0.1

* Attributes -> SymbolAttributes

* AssignTupleOptimizer -> AssignTupleDesugar

* moved algorithm classes to AssignTupleDesugarAlgorithm namespace

* fixes and refactoring

* LightSymInfo rework

* add rebuildDebug and build units

* enable VarNamesInMethodsWithSameNameAsClassGenericParamsReplacer

* remove CollectFullLightSymInfo call

* bind now return BindResult

* change BindResult path type

* path testing

* fix Current in BindCollectLightSymInfo

* fix Current in BindCollectLightSymInfo

* potential symomyms handling without assigns count minimization

* assign count minimization

* rename AssignTuplesDesugar

* move NewAssignTupleDesugar

* add optimization switch

* delete AssignTupleDesugar project

* remove comments

* collect symbols from var tuples

* optimize var_tuple_def_statement and assign_var_tuple

* fix

* fix Tuple Visitor

* fix

* add const optimization

* Удалил лишнее

---------

Co-authored-by: Mikhalkovich Stanislav <miks@math.sfedu.ru>
Co-authored-by: Артём Филонов <afilono@sfedu.ru>
Co-authored-by: Sun Serega <sunserega2@gmail.com>
2024-07-08 20:35:57 +03:00
Mikhalkovich Stanislav b086568133 err 0540 0541 поправил 2024-07-08 12:27:44 +03:00
Mikhalkovich Stanislav acfce9b4f7 одномерный 2024-07-07 15:59:04 +03:00
Ivan Bondarev af2bc0fda8 #3165 2024-07-07 11:17:26 +02:00
Mikhalkovich Stanislav f528ee0ad8 Удалил неработающий тест 2024-07-07 00:03:06 +03:00
Mikhalkovich Stanislav c7884d8321 Убрали зависимость компилятора от парсера Паскаля 2024-07-04 23:03:22 +03:00
Ivan Bondarev 2955479709
Merge pull request #3176 from SunSerega/build-dep
Исправление зависимостей после конфликта последних двух PR
2024-07-04 21:37:19 +02:00
Ivan Bondarev 02aaaccdd6 Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet 2024-07-04 19:19:46 +02:00
Ivan Bondarev 9d3e2db5ec #3164 2024-07-04 19:19:37 +02:00
Mikhalkovich Stanislav 46f34dae13 LightPT - убрал CheckOutputNew
TasksArr.pas, TasksStr.pas - правки
2024-07-04 13:43:35 +03:00
Sun Serega f9c47b8f73
Fix dependencies in Compiler project 2024-07-02 21:25:09 +02:00
Sun Serega 53c1e32041
Remove extra tests 2024-07-02 21:25:04 +02:00
Mikhalkovich Stanislav 7f988c9bb2 3.9.0.3500
Хороший коммит )
2024-07-02 22:07:23 +03:00
Ivan Bondarev 33e8b383be #3172 2024-07-02 20:49:12 +02:00
Mikhalkovich Stanislav 50a0fdc4fc Поправил в трех проектах пути к bin
LightPT - Read...(prompt) - больше комбинаций

Loop_If_2_Sum в Tasks1Loops.pas
2024-07-02 21:45:28 +03:00
Mikhalkovich Stanislav b471da4499 Поправлены Tasks1Arr.pas Tasks1Begin.pas Tasks1BoolIfCase.pas 2024-07-02 17:06:45 +03:00
AlexanderZemlyak d5e9994ff2
Revert pascal language moving to language plugins (#3175)
* Return Parsers folder with standard parsers and move SyntaxTreeConverters back to Core

* Rename PascalLanguage project to PascalABCLanguageInfo

* Fix pascal dll loading
2024-07-02 16:10:50 +03:00
Sun Serega 04e2a40dc6
Исправление зависимостей проектов (#3174)
* Add workflow to build each project separately

* Make `Compiler` depend on `PascalLanguage` and `PascalABCSaushkinParser`  06e595

* Make IDE's depend on `PABCNETC`

It's launched as a separate process from IDE
2024-07-02 16:10:21 +03:00
Sun Serega aa43bfb128
fix GetReferenceFileName dll copy (#3173) 2024-07-02 00:25:09 +03:00
Mikhalkovich Stanislav 67aa35b9dc Поправлен LightPT
Упрощены TasksArr.pas TasksMatr.pas TasksStr.pas
2024-07-01 21:06:54 +03:00
Mikhalkovich Stanislav bd7059c079 Исправлена Range(a, b, step: real)
LightPT - CheckOutput может принимать параметры типа последователльность - они будут вытягиваться в одну последовательность
  Для этого исправлен FlattenElement
  FlattenOutput применяется автоматически - его теперь не надо вызывать явно
TaskLoops поправлен и упрощен в соответствии с CheckOutput
2024-06-30 12:41:37 +03:00
Mikhalkovich Stanislav 008a2eddfe RobotField - try в блоке создания 2024-06-27 13:39:13 +03:00
Ivan Bondarev 31975754da
Merge pull request #3156 from SunSerega/fix-3155
Исправление #3155
2024-06-24 20:42:33 +02:00
Sun Serega e8ea9d7b9a
Add use test 2024-06-23 21:56:36 +02:00
Sun Serega f3cfb18eab
Create the array types outside of any unit/scope 2024-06-23 20:46:40 +02:00
Sun Serega 7931ec4ff9
fix #3155 2024-06-23 20:39:55 +02:00
Sun Serega fb7c3988e6
Don't skip PCU errors in CompileAllUnits 2024-06-23 20:38:23 +02:00
Ivan Bondarev a402b00144 #3152 2024-06-23 14:33:09 +02:00
Ivan Bondarev 2007fd155c #3152 2024-06-23 14:21:12 +02:00
Sun Serega d633933833
add tests 2024-06-22 23:06:58 +02:00
Mikhalkovich Stanislav 73369527c8 3.9.0.3494 2024-06-22 19:44:00 +03:00
Sun Serega c2ef6fdcd7
Sync .ToLines with System.IO.StringReader (#3154) 2024-06-22 16:02:04 +03:00
Mikhalkovich Stanislav a923c0b6c6 Убрал из грамматики узлы await - случайно оставались 2024-06-17 17:01:46 +03:00
Mikhalkovich Stanislav 434b5ac58b Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet 2024-06-17 15:33:04 +03:00
Mikhalkovich Stanislav 159933ca0d Исправление ToLines 2024-06-17 10:32:18 +03:00
Mikhalkovich Stanislav cf9a664f02 s.ToLines
RenameDirectory
2024-06-17 09:54:12 +03:00
Mikhalkovich Stanislav e0e7924134 Перегенерировал грамматику 2024-06-15 19:27:27 +03:00
Mikhalkovich Stanislav a5ec24d9a0 await переместил 2024-06-15 19:26:46 +03:00
Mikhalkovich Stanislav 41177e7bcd del doc 2024-06-15 19:25:19 +03:00
Ivan Bondarev 9cb14c8dd1 #3127 2024-06-10 20:59:03 +02:00
Ivan Bondarev 502f74467a #3123 2024-06-09 21:30:02 +02:00
Ivan Bondarev 8bddc9e62a #3123 2024-06-09 19:35:35 +02:00
Ivan Bondarev e5f60689cd #3125 2024-06-09 12:30:20 +02:00
Ivan Bondarev b844e02ff5 revert #3125 2024-06-09 12:10:43 +02:00
Ivan Bondarev dbf22ca9e8 #3125 2024-06-09 12:03:39 +02:00
Ivan Bondarev acab4c7c01 #3091 2024-06-09 10:50:26 +02:00
Ivan Bondarev eedacdfef5
Merge pull request #3118 from SunSerega/uses-in-fix
Исправление #3116
2024-06-09 10:41:06 +02:00
AlexanderZemlyak 9f8f982cc2
Delete xml documentation of standard modules (#3140) 2024-06-04 21:49:19 +02:00
Mikhalkovich Stanislav bda964c3af fix #3133 2024-05-31 22:01:54 +03:00