Yet another compiler from Russian version of C into virtual machine
  • C 98.4%
  • Shell 1.1%
  • CMake 0.4%
  • C++ 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Timofey Frolov 35783b184e
Change signatures of string functions (#401)
Change signatures of string functions
2023-08-07 15:29:35 +03:00
.github/workflows Disable windows 2019 2023-04-11 17:10:22 +03:00
docs Change signatures of string functions (#401) 2023-08-07 15:29:35 +03:00
libs Change signatures of string functions (#401) 2023-08-07 15:29:35 +03:00
scripts Sort find output 2023-02-11 00:02:54 +03:00
src Some structural fixes 2022-10-03 15:59:48 +03:00
tests Change signatures of string functions (#401) 2023-08-07 15:29:35 +03:00
.clang-format Auto-fix missing lines 2020-04-30 03:26:17 +03:00
.clang-tidy Change styleguide set & gitignore 2019-12-08 19:01:48 +03:00
.gitignore Исправил баг с областью видимости 2023-01-10 11:41:36 +03:00
.gitlab-ci.yml Fix GitLab CI 2023-01-09 17:50:01 +03:00
CMakeLists.txt Some structural fixes 2022-10-03 15:59:48 +03:00
LICENSE Initial commit 2016-12-06 15:23:24 +03:00
README.md Some structural fixes 2022-10-03 15:59:48 +03:00

Virtual LLVM

Logo Russian C

Этот репозиторий содержит компилятор языка RuC. Авторство принадлежит Андрею Николаевичу Терехову, заведующему кафедрой "Системного программирования" СПбГУ.

Сборка

При первоначальном использовании необходимо установить некоторые утилиты:

$ sudo apt-get -y install git gcc g++ cmake clang-tidy clang-format-9

Для конфигурирования и сборки репозитория воспользуйтесь:

$ cmake -S . -B build
$ cmake --build build --config Release

P.s. Если вы собирали Debug версию, не забудьте вернуть -DCMAKE_BUILD_TYPE=Release

Использование

Установить сборку в систему можно одной из следующих команд:

$ cmake --install build --config Release
$ cmake --install build --prefix path/to/install --config Release

Так как в сборке используется CMake, имеется возможность генерации проекта для IDE, например Xcode:

$ cmake . -G Xcode