a small programming language made to entertain myself and being egotistical for me lol
u need these following in ur pc
- cmake
- either ninja or make
- gcc or msvc (gcc is recommended)
- a good and familiar knowledge of the terminal or cmd
- git clone this repo
- cd to the cloned repo
cd loytik
- create a folder called build and cd to it
mkdir build && cd build
- compile with cmake from the build directory
cmake ..
for those of u who are lazy ppls and want to compile with ninja, pass over the -GNinja
flag
- either with ninja or make, just type the command to start compilation
ninja
- check the demo program on
source/app.lytk
for a demo. to execute it, simply run
./loyitik ../source/app.lytk
- enjoy
note: to add loyitik to path on linux, simply cp the release or self-compiled to /usr/bin
or /usr/local/bin
to get install on windows, prepare the following:
- either cmd or powershell
- visual studio 2019 community
-
at the installation, check only Desktop development with C++ (includes nmake)
- cmake. download it here.
- git (bash or cmd)
- git clone this repo and cd to it.
git clone https://github.com/zeankundev/loytik && cd loytik\
- make a new folder called build and cd to it
mkdir build && cd loytik
- run cmake either from cmd or powershell
cmake ..
- run nmake (make is for unix systems, nmake is for windows systems)
nmake
- then, have fun! to start launching a demo program, open loytik interpreter from cmd or powershell
loytik.exe ../source/app.lytk