Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

kitsudaiki/libKitsunemimiSakuraLang

Repository files navigation

libKitsunemimiSakuraLang (DEPRECATED)

Github workfloat status GitHub tag (latest SemVer) GitHub C++Version Platform

Description

IMPORTANT: This library is no longer maintained

This library provides a simple script-language created by myself. It is packed as library for easy used in different tools. Originally it was created exclusively for the SakuraTree project (https://github.com/kitsudaiki/SakuraTree), but in the end it become generic and flexible enough to be also interesting for other upcoming projects, so it was moved into its own library.

Documentation for latest master-version:

https://gitlab.com/kitsudaiki/libKitsunemimiSakuraLang-Documentation/builds/artifacts/master/browse?job=build

Documentation version 0.7.x (only syntax-documentation):

https://files.kitsunemimi.moe/docs/libKitsunemimiSakuraLang-Documentation_0_7_0.pdf

Build

Requirements

name repository version task
g++ g++ >= 6.0 Compiler for the C++ code.
make make >= 4.0 process the make-file, which is created by qmake to build the programm with g++
qmake qt5-qmake >= 5.0 This package provides the tool qmake, which is similar to cmake and create the make-file for compilation.
FLEX flex >= 2.6 Build the lexer-code for all used parser.
GNU Bison bison 3.x Build the parser-code together with the lexer-code.

Installation on Ubuntu/Debian:

sudo apt-get install g++ make qt5-qmake flex bison

IMPORTANT: All my projects are only tested on Linux.

Kitsunemimi-repositories

Repository-Name Version-Tag Download-Path
libKitsunemimiCommon develop https://github.com/kitsudaiki/libKitsunemimiCommon.git
libKitsunemimiJson develop https://github.com/kitsudaiki/libKitsunemimiJson.git
libKitsunemimiJinja2 develop https://github.com/kitsudaiki/libKitsunemimiJinja2.git

HINT: These Kitsunemimi-Libraries will be downloaded and build automatically with the build-script below.

build library

In all of my repositories you will find a build.sh. You only have to run this script. It doesn't required sudo, because you have to install required tool via apt, for example, by yourself. But if other projects from me are required, it download them from github and build them in the correct version too. This script is also use by the ci-pipeline, so its tested with every commit.

Run the following commands:

git clone https://github.com/kitsudaiki/libKitsunemimiSakuraLang.git
cd libKitsunemimiSakuraLang
./build.sh
cd ../result

It create automatic a build and result directory in the directory, where you have cloned the project. At first it build all into the build-directory and after all build-steps are finished, it copy the include directory from the cloned repository and the build library into the result-directory. So you have all in one single place.

Tested on Debian and Ubuntu. If you use Centos, Arch, etc and the build-script fails on your machine, then please write me a mail and I will try to fix the script.

Usage

(sorry, docu comes later)

Contributing

Please give me as many inputs as possible: Bugs, bad code style, bad documentation and so on.

License

This project is licensed under the Apache License Version 2.0 - see the LICENSE file for details

About

(DEPRECATED) Parser and processing of a simple script-language created by myself for different tasks in my projects.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published