Skip to content

NopAngel/dragon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dragon

Dragon is a build tool and interpreter designed to be easier to use than CMake/Make, supporting multiple programming languages like C and Python.

Features

  • Multi-language support: Support for C, Python, and more.
  • Native library usage: Utilizes native libraries of each language.
  • Ease of use: Easier to use than CMake/Make.

Installation

To compile the Dragon interpreter, run:

gcc src/Dragon.c -o Dragon

Usage

Create a .DragonC file to define your variables and commands. Here is an example:

# Variable definitions
COMPILER=gcc
CFLAGS=-Wall -O2

# Commands
build:
    $COMPILER src/main.c src/utils.c -o build/output $CFLAGS
clean:
    if [ -d build ]; then rm -rf build/*; else if exist build\* del /Q build\*; fi
Then, to use Dragon, run:

sh
./Dragon .DragonC

License

This project is licensed under the MIT License - see the LICENSE file for details.