форк PascalABC с синонимами русских ключевых слов
Find a file
Ivan Bondarev 61e5aed5d9
Merge pull request #3117 from SunSerega/ldnull-ldc0
Замена `Ldnull` на `Ldc_I4_0`
2024-05-11 16:55:58 +02:00
.github/workflows Run tests on commit and PR 2023-06-20 10:05:41 +03:00
_NewAppIcons Новая иконка приложения 2019-03-17 21:58:24 +03:00
_ParsePABC1 Remove temporary obj files 2017-08-03 01:07:37 +03:00
_Presentations/2015 New Features Автоисправление пробелов в := с возможным добавлением ; по нажатию Enter 2019-07-13 12:01:16 +03:00
bin Preprocessor removal (#3113) 2024-05-09 19:04:31 +03:00
CodeCompletion Refactor file searching functions in Compiler (#3111) 2024-05-09 11:58:42 +03:00
CodeExamples Invoke -> Redraw в GraphWPF и WPFObjects 2019-08-05 00:23:28 +03:00
Compiler Refactor file searching functions in Compiler (#3111) 2024-05-09 11:58:42 +03:00
CompilerTools support of System.Diagnostics.Conditional 2021-08-10 21:23:15 +02:00
Configuration DrawMan исправления падения при запуске 2024-05-08 23:44:49 +03:00
Debugger.Core gitignore rework 2023-08-14 00:17:41 +03:00
doc copyrights 2024-01-04 11:04:04 +01:00
Errors New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
Grammars Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
ICSharpCode.TextEditor Реализован foreach index 2022-02-26 12:33:53 +03:00
ICSharpCode.TextEditorLinux fix pascalabcnet/pascalabcnetlinux#16 2023-10-03 21:43:30 +02:00
InstallerSamples Модуль WPF.pas 2024-03-13 22:23:17 +03:00
InteractiveDataDisplay_OneDll gitignore rework 2023-08-14 00:17:41 +03:00
LambdaAnySynToSemConverter copyrights 2024-01-04 11:04:04 +01:00
LanguageIntegrator Add check for LanguageKits directory existence (#3052) 2024-03-22 23:25:02 +03:00
Libraries Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
Localization TypeName - оставил в интерфейсе только необходимое 2024-05-06 22:30:41 +03:00
NETGenerator more intelligent Ldnull vs Ldc_I4_0 2024-05-10 19:31:36 +02:00
Optimizer New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
pabcnetc Implement programming languages integration functionality (#3001) 2024-03-13 22:16:40 +03:00
pabcnetc_clear Refactor file searching functions in Compiler (#3111) 2024-05-09 11:58:42 +03:00
PABCNetHelp Help 2024-04-16 19:31:30 +03:00
Parsers Preprocessor removal (#3113) 2024-05-09 19:04:31 +03:00
ParserTools Preprocessor removal (#3113) 2024-05-09 19:04:31 +03:00
PluginsSupport Fix typo: braket -> bracket (#3041) 2024-02-16 08:27:38 +03:00
PluginsSupportLinux Fix typo: braket -> bracket (#3041) 2024-02-16 08:27:38 +03:00
Release DrawMan исправления падения при запуске 2024-05-08 23:44:49 +03:00
ReleaseGenerators DrawMan исправления падения при запуске 2024-05-08 23:44:49 +03:00
SemanticTree #2921 2023-11-01 11:48:45 +01:00
StringConstants New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
SyntaxTree New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
SyntaxTreeConverters Тестовый визитор с same_node_type 2024-03-27 12:07:34 +03:00
SyntaxVisitors assign с first_assignment_defines_type и тестовым примером 2024-03-29 13:53:46 +03:00
TestSuite Preprocessor removal (#3113) 2024-05-09 19:04:31 +03:00
TreeConverter Интерфейс семантических проверок + делегат на проверку, является ли файл модулем (#3112) 2024-05-05 18:12:50 +03:00
Utils Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
VisualPascalABCNET New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
VisualPascalABCNETLinux New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
VisualPlugins Implement programming languages integration functionality (#3001) 2024-03-13 22:16:40 +03:00
WeifenLuo HighDPI - иконки в нижних окнах увеличены и кнопка Dock для увеличения 200% - новое изображение 2020-04-28 14:54:15 +03:00
WeifenLuoLinux/WinFormsUI Linux IDE - корректное отображение панелей дебаггинга 2023-10-25 10:42:56 +03:00
Yield gitignore rework 2023-08-14 00:17:41 +03:00
YMC Yacc MC для просмотра грамматик 2018-07-01 15:39:30 +03:00
.gitignore New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
_BuildDebug.bat Оптимизация в bat - файлах. Файл Studio.bat - основной запускающий сборку 2019-01-04 23:09:13 +03:00
_BuildDebug.sh _BuildDebug.sh 2023-04-12 20:37:43 +02:00
_Clean.bat Space 2021-07-04 15:15:35 +03:00
_GenerateAllSetups.bat revert TestRunner.exe 2023-08-21 21:42:26 +03:00
_GenerateLinuxVersion.bat New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
_ReBuildDebug.bat Оптимизация в bat - файлах. Файл Studio.bat - основной запускающий сборку 2019-01-04 23:09:13 +03:00
_RebuildDebugAndBuildUnits.bat LightSymInfo rework (#2994) 2023-12-31 12:54:49 +03:00
_ReBuildRelease.bat Оптимизация в bat - файлах. Файл Studio.bat - основной запускающий сборку 2019-01-04 23:09:13 +03:00
_RebuildRelease.sh updated _RebuildRelease.sh and _RebuildReleaseAndRunTests.sh 2023-03-19 14:43:07 +01:00
_RebuildReleaseAndBuildUnits.bat Модули Tasks для LightPT. 2023-07-30 16:55:01 +03:00
_RebuildReleaseAndRunTests.bat revert TestRunner.exe 2023-08-21 21:42:26 +03:00
_RebuildReleaseAndRunTests.sh updated _RebuildRelease.sh and _RebuildReleaseAndRunTests.sh 2023-03-19 14:43:07 +01:00
_RebuildReleaseAndRunTestsForGitHubActions.bat revert TestRunner.exe 2023-08-21 21:42:26 +03:00
_RegisterHelixNUnit.bat Новый модуль PlotWPF на основе InteractiveDataDisplay.WPF.dll 2021-07-13 23:52:47 +03:00
_TestGitIgnore.bat gitignore rework 2023-08-14 00:17:41 +03:00
fileslist_install.pas fileslist_install.pas new 2022-07-13 12:11:45 +03:00
pabcnetc.sln Добавил LambdaAnySynToSemConverter.csproj к нескольким проектам 2023-06-08 15:51:24 +03:00
PascalABCNET.axml bug fix #360 2017-03-02 20:27:17 +01:00
PascalABCNET.sln New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
PascalABCNET.xml Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet 2015-06-27 20:55:07 +03:00
PascalABCNET_40.sln New checks for directives added (#3099) 2024-05-04 20:21:50 +03:00
PascalABCNETLinux.sln Добавил LambdaAnySynToSemConverter.csproj к нескольким проектам 2023-06-08 15:51:24 +03:00
README.md Update README.md 2023-03-19 15:08:20 +01:00
Studio.bat Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00

Building PascalABC.NET in Windows

Run _RegisterHelix.bat on first use to install the HelixToolkit.dll and HelixToolkit.Wpf.dll in GAC

_RebuildReleaseAndRunTests.bat builds the project in Release-mode, rebuilds the pas-units and runs tests (run with administrative privileges!).

_GenerateAllSetups.bat builds the project in Release-mode, rebuilds the pas-units, runs tests and creates the install package (run with administrative privileges!).

_ReBuildRelease.bat builds the project in Release-mode.

_ReBuildDebug.bat builds the project in Debug-mode.

PascalABC is being developed in Visual Studio Community 2019.

Building PascalABC.NET in Linux (Ubuntu 22.04)

Install Mono (http://www.mono-project.com/docs/getting-started/install/linux/)

sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt-get install mono-devel
sudo apt-get install mono-complete
sudo apt-get install mono-roslyn
sudo apt-get install msbuild

Build the project and run tests.

$ git clone https://github.com/pascalabcnet/pascalabcnet
$ cd pascalabcnet
$ sh _RebuildReleaseAndRunTests.sh

Building PascalABC.NET in MacOS

Download and install Mono from official page. Install the git-client. Run the commands:

$ git clone https://github.com/pascalabcnet/pascalabcnet
$ cd pascalabcnet
$ sh _RebuildReleaseAndRunTests.sh

Run the PascalABC.NET command line compiler

$ cd bin
$ mono pabcnetc.exe
or $ mono --debug pabcnetc.exe

Tests

Tests are located in the directory "TestSuite". To run the tests execute the file bin/TestRunner.exe


Сборка проекта в Windows

Перед первой компиляцией необходимо запустить _RegisterHelix.bat с правами администратора

_RebuildReleaseAndRunTests.bat собирает проект в Release-режиме, перекомпилирует pas-модули и прогоняет все тесты (запускать с правами администратора).

_GenerateAllSetups.bat собирает инсталлят (запускать с правами администратора).

_ReBuildRelease.bat собирает проект в Release-режиме.

_ReBuildDebug.bat собирает проект в Debug-режиме.

Разработка ведется в Visual Studio Community 2019.

Сборка проекта в Linux (Ubuntu 20.04)

Установка Mono (http://www.mono-project.com/docs/getting-started/install/linux/)

sudo apt install gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt-get install mono-devel
sudo apt-get install mono-complete

Сборка проекта и выполение тестов

$ git clone https://github.com/pascalabcnet/pascalabcnet
$ cd pascalabcnet
$ sh _RebuildReleaseAndRunTests.sh

Сборка проекта в MacOS

Скачайте и установите Mono с официального сайта. При необходимости установите git-клиент. Далее выполните команды

$ git clone https://github.com/pascalabcnet/pascalabcnet
$ cd pascalabcnet
$ sh _RebuildReleaseAndRunTests.sh

Запуск

$ cd bin
$ mono pabcnetc.exe
или $ mono --debug pabcnetc.exe

Тесты

Тесты расположены в папке TestSuite. Прогон тестов осуществляется программой bin/TestRunner.exe