форк PascalABC с синонимами русских ключевых слов
Find a file
Bogdan Voloshin 32b86ece99 Merge branch 'master' into features/typeclasses-another-approach
# Conflicts:
#	Parsers/PascalABCParserNewSaushkin/ABCPascal.cs
#	Parsers/PascalABCParserNewSaushkin/ABCPascalYacc.cs
2018-05-24 14:35:47 +03:00
_ParsePABC1 Remove temporary obj files 2017-08-03 01:07:37 +03:00
_Presentations/2015 New Features Исправления конфликтов в грамматике :: 2016-04-03 22:04:35 +03:00
bin Merge branch 'master' into features/typeclasses-another-approach 2018-05-22 21:16:32 +03:00
CodeCompletion fix #835 2018-05-23 21:36:36 +02:00
CodeExamples Find spot for typeclass template params inferrence and add required params for inference function 2018-05-23 20:06:20 +03:00
Compiler Наименовал некоторые области видимости для упрощения процесса отладки 2018-05-07 02:20:08 +03:00
CompilerTools change encoding for all *.pas and *.cs files: cp1251 -> utf-8 2015-12-28 14:25:15 +03:00
Configuration Примеры на Pattern Matching 2018-05-24 08:03:21 +03:00
Debugger.Core disassembly window 2017-06-16 17:10:36 +02:00
doc copyright 2005-2018 2018-01-01 13:14:03 +01:00
Errors Перенёс SyntaxVisitors в папку первого уровня 2016-07-18 13:04:50 +03:00
Grammars удалены старые парсеры на базе GoldParser 2016-01-07 22:01:36 +01:00
ICSharpCode.TextEditor bug fix #773 2018-04-18 21:26:38 +02:00
InstallerSamples Примеры на Pattern Matching 2018-05-24 08:03:21 +03:00
Libraries bug fix #774 2018-04-19 21:05:47 +02:00
Localization try bug fix 815 2018-05-09 12:12:34 +03:00
NETGenerator bug fix #851 2018-05-21 12:04:57 +02:00
OptimizedAssemblies
Optimizer bug fix #801 2018-05-05 16:21:07 +02:00
pabcnetc Merge 'master' into 'features/patterns' 2018-04-08 13:42:32 +03:00
pabcnetc_clear copyright 2005-2018 2018-01-01 13:14:03 +01:00
Parsers Merge branch 'master' into features/typeclasses-another-approach 2018-05-24 14:35:47 +03:00
ParserTools fix #838 2018-05-23 20:47:19 +02:00
Patterns First 'is' prototype 2018-05-16 00:26:07 +03:00
PluginsSupport Move dll's from bin to Libraries 2017-08-11 05:55:16 +03:00
Release
ReleaseGenerators Примеры на Pattern Matching 2018-05-24 08:03:21 +03:00
SemanticTree bug fix #428 2017-07-02 12:18:56 +02:00
SyntaxTree Merge branch 'master' into features/typeclasses-another-approach 2018-05-19 00:21:42 +03:00
SyntaxTreeConverters Merge branch 'master' into features/typeclasses-another-approach 2018-05-22 21:16:32 +03:00
SyntaxVisitors Merge branch 'master' into features/typeclasses-another-approach 2018-05-24 14:35:47 +03:00
TestSuite Merge branch 'master' into features/typeclasses-another-approach 2018-05-24 14:35:47 +03:00
TreeConverter Find spot for typeclass template params inferrence and add required params for inference function 2018-05-23 20:06:20 +03:00
Utils fix #689 2018-03-04 11:57:31 +01:00
VisualPascalABCNET fix #841 2018-05-17 21:52:54 +02:00
VisualPlugins copyright 2005-2018 2018-01-01 13:14:03 +01:00
WeifenLuo
Yield bug fix #389 2017-04-28 22:41:40 +03:00
.gitignore Refactor nodes 2018-05-01 19:51:24 +03:00
_BuildDebug.bat bug fix #432 2017-06-29 21:05:37 +02:00
_Clean.bat build scripts for VS Enterprise (as exception). 2017-04-23 09:53:18 +02:00
_GenerateAllSetups.bat build scripts for VS Enterprise (as exception). 2017-04-23 09:53:18 +02:00
_ReBuildDebug.bat build scripts for VS Enterprise (as exception). 2017-04-23 09:53:18 +02:00
_ReBuildRelease.bat build scripts for VS Enterprise (as exception). 2017-04-23 09:53:18 +02:00
_RebuildReleaseAndBuildUnits.bat build scripts for VS Enterprise (as exception). 2017-04-23 09:53:18 +02:00
_RebuildReleaseAndRunTests.bat build scripts for VS Enterprise (as exception). 2017-04-23 09:53:18 +02:00
_RebuildReleaseAndRunTests.sh sudo gacutil in _RebuildReleaseAndRunTests.sh 2016-04-03 14:54:55 +02:00
_RegisterHelix.bat HelixViewport.DLL 2018-01-07 22:58:34 +03:00
pabcnetc.sln add projects to pabcnetc.sln 2016-09-16 18:50:01 +02:00
PascalABCNET.axml bug fix #360 2017-03-02 20:27:17 +01:00
PascalABCNET.sln removed empty project SCharpLanguageConverter from solution 2017-08-13 16:08:46 +02:00
PascalABCNET.xml Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet 2015-06-27 20:55:07 +03:00
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