форк PascalABC с синонимами русских ключевых слов
Find a file
Бондарев Иван 4f417eaefd bug fix #714
2018-03-11 18:08:25 +01:00
_ParsePABC1
_Presentations/2015 New Features
bin bug fix #713 2018-03-11 12:43:52 +01:00
CodeCompletion bug fix #710 2018-03-08 20:32:11 +01:00
Compiler События мыши в Graph3D 2018-03-10 22:50:48 +03:00
CompilerTools
Configuration События мыши в Graph3D 2018-03-10 22:50:48 +03:00
Debugger.Core
doc copyright 2005-2018 2018-01-01 13:14:03 +01:00
Errors
Grammars
ICSharpCode.TextEditor bug fix #670 2018-01-31 20:56:36 +01:00
InstallerSamples События мыши в Graph3D 2018-03-10 22:50:48 +03:00
Libraries bug fix #670 2018-01-31 20:56:36 +01:00
Localization События мыши в Graph3D 2018-03-10 22:50:48 +03:00
NETGenerator bug fix #700 2018-03-11 17:47:53 +01:00
OptimizedAssemblies
Optimizer copyright 2005-2018 2018-01-01 13:14:03 +01:00
pabcnetc copyright 2005-2018 2018-01-01 13:14:03 +01:00
pabcnetc_clear copyright 2005-2018 2018-01-01 13:14:03 +01:00
Parsers bug fix #682 2018-02-20 20:53:51 +01:00
ParserTools bug fix #712 2018-03-11 11:25:55 +01:00
PluginsSupport
Release
ReleaseGenerators События мыши в Graph3D 2018-03-10 22:50:48 +03:00
SemanticTree
SyntaxTree fix in intellisense 2017-12-29 22:11:13 +01:00
SyntaxTreeConverters bug fix #683 2018-02-14 09:45:38 +03:00
SyntaxVisitors bug fix #635 2018-01-06 14:02:18 +03:00
TestSuite bug fix #714 2018-03-11 18:08:25 +01:00
TreeConverter bug fix #714 2018-03-11 18:08:25 +01:00
Utils fix #689 2018-03-04 11:57:31 +01:00
VisualPascalABCNET bug fix #706 2018-03-07 21:37:47 +01:00
VisualPlugins copyright 2005-2018 2018-01-01 13:14:03 +01:00
WeifenLuo
Yield
.gitignore Update .gitignore 2018-01-30 20:07:53 +03:00
_BuildDebug.bat
_Clean.bat
_GenerateAllSetups.bat
_ReBuildDebug.bat
_ReBuildRelease.bat
_RebuildReleaseAndBuildUnits.bat
_RebuildReleaseAndRunTests.bat
_RebuildReleaseAndRunTests.sh
_RegisterHelix.bat HelixViewport.DLL 2018-01-07 22:58:34 +03:00
pabcnetc.sln
PascalABCNET.axml
PascalABCNET.sln
PascalABCNET.xml
README.md bug fix #646 2018-01-08 20:32:20 +01: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 2017.

Building PascalABC.NET in Linux (Ubuntu)

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

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get update
sudo apt-get install mono-devel
sudo apt-get install mono-complete

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
или $ 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 2017.

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

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

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
sudo apt-get 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