The new generation Pascal programming language for .NET
C# Pascal NSIS HTML Yacc Lex Other
Clone or download
miks1965 Запрещен странный синтаксис в new
Откомментированы Incremental
Latest commit c03a869 Aug 14, 2018
Permalink
Failed to load latest commit information.
CodeCompletion fix #1031 Aug 9, 2018
CodeExamples TypeClassErrors - папка для ошибок с typeclasses Jun 28, 2018
Compiler bug fix #951 Jul 18, 2018
CompilerTools change encoding for all *.pas and *.cs files: cp1251 -> utf-8 Dec 28, 2015
Configuration Запрещен странный синтаксис в new Aug 14, 2018
Debugger.Core disassembly window Jun 16, 2017
Errors Перенёс SyntaxVisitors в папку первого уровня Jul 18, 2016
Grammars удалены старые парсеры на базе GoldParser Jan 7, 2016
ICSharpCode.TextEditor fix #942 Aug 8, 2018
InstallerSamples fix #1036 Aug 12, 2018
Libraries fix #942 Aug 8, 2018
Localization fix #1036 Aug 12, 2018
NETGenerator fix #807 Aug 8, 2018
OptimizedAssemblies MPGORunner and TestRunner modified May 15, 2015
Optimizer fix #949 Jul 18, 2018
PABCNetHelp ^i - убрал Aug 11, 2018
ParserTools fix #952 Aug 8, 2018
Parsers Запрещен странный синтаксис в new Aug 14, 2018
PluginsSupport Move dll's from bin to Libraries Aug 11, 2017
Release MPGORunner and TestRunner modified May 15, 2015
ReleaseGenerators Запрещен странный синтаксис в new Aug 14, 2018
SemanticTree bug fix #428 Jul 2, 2017
SyntaxTree fix #1036 Aug 12, 2018
SyntaxTreeConverters bug fix #918 Jun 28, 2018
SyntaxVisitors bug fix #1027 Aug 9, 2018
TestSuite Запрещен странный синтаксис в new Aug 14, 2018
TreeConverter fix #1036 Aug 12, 2018
Utils Set parents for child elements when assigned using properties May 25, 2018
VisualPascalABCNET fix #962 Aug 9, 2018
VisualPlugins copyright 2005-2018 Jan 1, 2018
WeifenLuo initial commit May 14, 2015
YMC Yacc MC для просмотра грамматик Jul 1, 2018
Yield bug fix #389 Apr 28, 2017
_ParsePABC1 Remove temporary obj files Aug 2, 2017
_Presentations/2015 New Features Исправления конфликтов в грамматике :: Apr 3, 2016
bin Запрещен странный синтаксис в new Aug 14, 2018
doc copyright 2005-2018 Jan 1, 2018
pabcnetc Merge 'master' into 'features/patterns' Apr 8, 2018
pabcnetc_clear copyright 2005-2018 Jan 1, 2018
.gitignore Добавил справку и средства для автогенерации справки по системному мо… Aug 2, 2018
PascalABCNET.axml bug fix #360 Mar 2, 2017
PascalABCNET.sln removed empty project SCharpLanguageConverter from solution Aug 13, 2017
PascalABCNET.xml Merge branch 'master' of https://github.com/pascalabcnet/pascalabcnet Jun 27, 2015
README.md bug fix #646 Jan 8, 2018
_BuildDebug.bat bug fix #432 Jun 29, 2017
_Clean.bat build scripts for VS Enterprise (as exception). Apr 23, 2017
_GenerateAllSetups.bat fix for fucking tortoisegit Jun 3, 2018
_ReBuildDebug.bat build scripts for VS Enterprise (as exception). Apr 23, 2017
_ReBuildRelease.bat build scripts for VS Enterprise (as exception). Apr 23, 2017
_RebuildReleaseAndBuildUnits.bat build scripts for VS Enterprise (as exception). Apr 23, 2017
_RebuildReleaseAndRunTests.bat fix for fucking tortoisegit Jun 3, 2018
_RebuildReleaseAndRunTests.sh sudo gacutil in _RebuildReleaseAndRunTests.sh Apr 3, 2016
_RegisterHelix.bat HelixViewport.DLL Jan 7, 2018
pabcnetc.sln add projects to pabcnetc.sln Sep 16, 2016

README.md

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