Skip to content

Simple programming language made in c++. Compiler only code and docs

License

Notifications You must be signed in to change notification settings

zeankundev/loytik

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

loytik

a small programming language made to entertain myself and being egotistical for me lol

tutorial how2 compile it urself

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

steps

  1. git clone this repo
  2. cd to the cloned repo
cd loytik
  1. create a folder called build and cd to it
mkdir build && cd build
  1. 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

  1. either with ninja or make, just type the command to start compilation
ninja
  1. check the demo program on source/app.lytk for a demo. to execute it, simply run
./loyitik ../source/app.lytk
  1. enjoy

note: to add loyitik to path on linux, simply cp the release or self-compiled to /usr/bin or /usr/local/bin

build instructions for windows

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)

steps

  1. git clone this repo and cd to it.
git clone https://github.com/zeankundev/loytik && cd loytik\
  1. make a new folder called build and cd to it
mkdir build && cd loytik
  1. run cmake either from cmd or powershell
cmake ..
  1. run nmake (make is for unix systems, nmake is for windows systems)
nmake
  1. then, have fun! to start launching a demo program, open loytik interpreter from cmd or powershell
loytik.exe ../source/app.lytk

more features coming soon :)