форк PascalABC с синонимами русских ключевых слов
Find a file
miks1965 978e4b6404 [Serializable] public class SourceContext
и пара синтаксических визиторов для примера использования в конверторе
2016-05-06 22:59:54 +03:00
_ParsePABC1 SyntaxTreeConvertersController 2016-05-02 11:26:17 +03:00
_Presentations/2015 New Features Исправления конфликтов в грамматике :: 2016-04-03 22:04:35 +03:00
bin [Serializable] public class SourceContext 2016-05-06 22:59:54 +03:00
CodeCompletion intellisense tests in test suite 2016-05-06 13:56:19 +02:00
Compiler [Serializable] public class SourceContext 2016-05-06 22:59:54 +03:00
CompilerTools change encoding for all *.pas and *.cs files: cp1251 -> utf-8 2015-12-28 14:25:15 +03:00
Configuration [Serializable] public class SourceContext 2016-05-06 22:59:54 +03:00
Debugger.Core при сравнении на совпадение строки следующей операции, добавлена проверка на совпадение исходного файла. 2015-10-23 17:59:34 +10:00
doc удалены старые парсеры на базе GoldParser 2016-01-07 22:01:36 +01:00
Errors ... 2015-09-10 20:58:53 +02:00
Grammars удалены старые парсеры на базе GoldParser 2016-01-07 22:01:36 +01:00
ICSharpCode.TextEditor added license info 2015-06-02 21:52:35 +02:00
InstallerSamples Проект SyntaxTreeChanger 2016-05-01 11:13:16 +03:00
Libraries added license files for third-party libraries 2015-05-31 10:15:07 +02:00
Localization [Serializable] public class SourceContext 2016-05-06 22:59:54 +03:00
NETGenerator Вернул название TreeConverter 2016-05-01 11:44:54 +03:00
OptimizedAssemblies MPGORunner and TestRunner modified 2015-05-15 11:35:40 +02:00
Optimizer Вернул название TreeConverter 2016-05-01 11:44:54 +03:00
pabcnetc replace unicode character © with (c) in commandline compiler 2016-03-22 19:18:48 +01:00
pabcnetc_clear Привел в соответствие копирайты в окне About 2016-01-06 11:34:18 +01:00
Parsers Вернул название TreeConverter 2016-05-01 11:44:54 +03:00
ParserTools new intellisense tests 2016-05-06 14:29:47 +02:00
PluginsSupport remove unused and commented code 2016-05-01 12:48:34 +02:00
Release MPGORunner and TestRunner modified 2015-05-15 11:35:40 +02:00
ReleaseGenerators [Serializable] public class SourceContext 2016-05-06 22:59:54 +03:00
SemanticTree change encoding for all *.pas and *.cs files: cp1251 -> utf-8 2015-12-28 14:25:15 +03:00
SyntaxTree [Serializable] public class SourceContext 2016-05-06 22:59:54 +03:00
SyntaxTreeConverters [Serializable] public class SourceContext 2016-05-06 22:59:54 +03:00
TestSuite new intellisense tests 2016-05-06 14:29:47 +02:00
TreeConverter removed unused and commented code 2016-05-06 18:23:32 +02:00
Utils Удалил Performance Tools 2016-03-20 14:46:26 +01:00
VisualPascalABCNET [Serializable] public class SourceContext 2016-05-06 22:59:54 +03:00
VisualPlugins intellisense tests in test suite 2016-05-06 13:56:19 +02:00
WeifenLuo initial commit 2015-05-14 21:35:07 +02:00
Перевод сайта initial commit 2015-05-14 21:35:07 +02:00
_Clean.bat ... 2015-08-29 22:20:07 +02:00
_GenerateAllSetups.bat ryujit enabled. bug fix in installer script 2015-08-20 14:45:13 +02:00
_ReBuildDebug.bat initial commit 2015-05-14 21:35:07 +02:00
_ReBuildRelease.bat initial commit 2015-05-14 21:35:07 +02:00
_RebuildReleaseAndRunTests.bat _RebuildReleaseAndRunTests.bat added 2015-12-29 13:32:45 +01:00
_RebuildReleaseAndRunTests.sh sudo gacutil in _RebuildReleaseAndRunTests.sh 2016-04-03 14:54:55 +02:00
pabcnetc.sln added solution file for console compiler 2015-09-10 21:10:34 +02:00
PascalABCNET.sln SyntaxTreeConvertersController 2016-05-02 11:26:17 +03:00
PascalABCNET.xml Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet 2015-06-27 20:55:07 +03:00
README.md Update README.md 2016-04-03 14:58:20 +02:00

Building PascalABC.NET in Windows

_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 2015.

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

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

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

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

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

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

Сборка проекта в 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