форк PascalABC с синонимами русских ключевых слов
Find a file
Ivan Bondarev a25a8bfe0e #2676
2023-12-28 11:46:18 +01: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
_Presentations/2015 New Features Автоисправление пробелов в := с возможным добавлением ; по нажатию Enter 2019-07-13 12:01:16 +03:00
bin Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet 2023-12-26 12:12:24 +03:00
CodeCompletion Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
CodeExamples Invoke -> Redraw в GraphWPF и WPFObjects 2019-08-05 00:23:28 +03:00
Compiler Добавлен School в список исключений rtl.dll 2023-12-23 12:48:09 +03:00
CompilerTools support of System.Diagnostics.Conditional 2021-08-10 21:23:15 +02:00
Configuration s.Replace - изменена реализация 2023-12-26 12:12:17 +03:00
Debugger.Core gitignore rework 2023-08-14 00:17:41 +03:00
doc copyrights 2022-09-25 11:00:44 +02:00
Errors Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +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 LightPT - правка в выводе ошибки 2023-08-27 19:41:03 +03:00
InteractiveDataDisplay_OneDll gitignore rework 2023-08-14 00:17:41 +03:00
LambdaAnySynToSemConverter SemanticTree.csproj добавил в LambdaAnySynToSemConverter.csproj 2023-06-14 20:26:31 +03:00
Libraries Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
Localization commit - инкремент версии 2023-12-19 18:09:18 +03:00
NETGenerator Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
Optimizer Fix generic_params=>instance_params 2023-06-25 09:44:11 +03:00
pabcnetc Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
pabcnetc_clear Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
PABCNetHelp Перегенерировал справку 2023-08-12 21:38:41 +03:00
Parsers Removed ShiftReduceParser and UniversalParserHelper 2023-12-19 17:07:20 +03:00
ParserTools Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
PluginsSupport Изменения в RunService чтобы можно было в плагине вызвать коллбэк изменения аргументов запускаемого приложения 2022-09-10 22:47:28 +03:00
PluginsSupportLinux TraningControlPlugin изменения 2022-08-16 12:10:15 +03:00
Release s.Replace - изменена реализация 2023-12-26 12:12:17 +03:00
ReleaseGenerators s.Replace - изменена реализация 2023-12-26 12:12:17 +03:00
SemanticTree #2921 2023-11-01 11:48:45 +01:00
SyntaxTree Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
SyntaxTreeConverters Попробовал сделать ковариантность 2023-01-06 23:09:01 +03:00
SyntaxVisitors Исправил подсчёт здоровья - проценты за принт начислялись несколько раз 2023-10-17 21:08:23 +03:00
TestSuite #2676 2023-12-28 11:46:18 +01:00
TreeConverter #2676 2023-12-28 11:46:18 +01:00
Utils Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
VisualPascalABCNET Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
VisualPascalABCNETLinux Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +03:00
VisualPlugins Refactoring of Compiler.cs (#2984) 2023-12-18 22:33:27 +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
.gitignore Removed ShiftReduceParser and UniversalParserHelper 2023-12-19 17:07:20 +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 3.9.0.3363 2023-09-24 23:18:04 +03:00
_ReBuildDebug.bat Оптимизация в bat - файлах. Файл Studio.bat - основной запускающий сборку 2019-01-04 23:09:13 +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
PascalABCNET.sln Removed ShiftReduceParser and UniversalParserHelper 2023-12-19 17:07:20 +03:00
PascalABCNET.xml
PascalABCNET_40.sln Добавил LambdaAnySynToSemConverter.csproj к нескольким проектам 2023-06-08 15:51:24 +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