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
Mikhalkovich Stanislav
6bb69dff58
Исправлен код на эквивалентный (старый код не собирался в Linux под msc)
...
Всё собирается, тесты проходят
2023-05-29 14:54:03 +03:00
Ivan Bondarev
77b5121056
#2833
2023-04-09 10:47:52 +02:00
Ivan Bondarev
052d0e38a9
#2833
2023-04-07 14:09:53 +02:00
Ivan Bondarev
9ea935f0d8
#2567
2021-12-24 15:38:39 +01:00
Mikhalkovich Stanislav
fce27649d1
fix #2290
2020-10-07 18:41:43 +03:00
Mikhalkovich Stanislav
ceee81e1aa
fix #2268
2020-06-23 00:35:39 +03:00
Mikhalkovich Stanislav
ac3cb68835
fix #2067
2020-06-13 15:35:47 +03:00
Александр Погорелов
78321a9404
fix #1506 , #2185
2020-03-09 12:37:13 +03:00
Александр Погорелов
4f9ebdb5ae
fix #1953 , fix #1954 , fix #1955
2019-05-25 12:30:15 +03:00
Александр Погорелов
0eabf5a39e
fix #1950 , #1951
2019-05-25 09:35:52 +03:00
Alexandr Pogorelov
8a432eee6e
Улучшение паттерн матчинга ( #1949 )
...
Матчинг констант, таплов, коллекций. Улучшение матчинга по типам.
2019-05-24 10:04:17 +03:00
Alexander Algasov
64ef16a3fa
fix #1422
2018-10-24 23:55:52 +03:00
Alexander Algasov
9e527ba7a4
Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet
2018-10-24 21:18:59 +03:00
Alexander Algasov
694c75454e
fix #1421
2018-10-24 21:18:53 +03:00
miks1965
3d95757c71
Убрал тест questionpoint1.pas
...
Почему-то перестал работать
2018-10-24 16:22:33 +03:00
miks1965
987ab845e8
fix #1409
...
Разрешил перегруженные деконструкторы
2018-10-21 12:29:36 +03:00
Alexander Algasov
9e7bd5df51
Implement compile-time pattern compatibility check
2018-10-20 18:59:13 +03:00
Alexander Algasov
d1b4ba7cee
Merge branch 'master' into features/patterns
2018-10-20 18:23:38 +03:00
miks1965
fe063e48c4
fix #1403
2018-10-20 11:20:53 +03:00
miks1965
9022628839
fix #1405
2018-10-20 11:08:27 +03:00
Alexander Algasov
fedbe2b478
Merge branch 'master' into features/patterns
2018-09-23 11:11:54 +03:00
Alexander Zakharenko
21301a8fb4
Fix #872
2018-06-17 14:21:52 +03:00
Бондарев Иван
88d406d9b6
fix in patterns
2018-06-03 19:49:55 +02:00
Alexander Zakharenko
38c0ebe14c
Disallow using deconstructs of parent classes
2018-05-25 16:29:22 +03:00
Alexander Zakharenko
d9a638886a
Remove tasks done
2018-05-23 18:54:55 +03:00
Alexander Zakharenko
dd90bee60e
Add tests & semantic checks
2018-05-18 18:18:38 +03:00
Alexander Zakharenko
ac5dff7717
Formatting patterns, and caching matching expression
2018-05-17 23:49:50 +03:00
Alexander Zakharenko
038d6fe839
Fix patterns not working with yields
2018-05-17 22:49:07 +03:00
Alexander Zakharenko
cc21d473f1
Recursive patterns - resugaring example
2018-05-13 20:49:08 +03:00
Alexander Zakharenko
d257bbd52f
Add else case and tests
2018-05-11 19:26:55 +03:00
Alexander Zakharenko
f5cf7d8179
Re-generate parser & run tests
2018-05-11 14:11:56 +03:00
Alexander Zakharenko
ec44408a75
Code formatting for match with pattern
2018-05-11 13:46:59 +03:00
Alexander Zakharenko
8cf6228509
Working prototype of generics (not heavily tested yet)
2018-05-09 23:56:49 +03:00
Alexander Zakharenko
6e03ed5434
Isolated checks (WIP)
2018-05-09 15:31:50 +03:00
Alexander Zakharenko
9d3fd3e5aa
Implement deconstruction, simple case
2018-05-06 20:09:36 +03:00
Alexander Zakharenko
5aff52feeb
Add deconstruct pattern to grammar
2018-05-01 19:29:39 +03:00