Skip to content

vstan02/woden

Repository files navigation

Woden

A true Object-Oriented programming language

License: LGPL v3

Contents

Building and Installation

Dependencies

  • C++ compiler
  • Build system generator: cmake
  • Package manager: conan

These packages can usually be installed through your distributions package manager.

Building the project

To build the project, we first need to create a separate build directory and cd into it:

mkdir build
cd build

Now that we've created our build directory (assuming it's created in the project root), we can install all dependencies with conan and run cmake (we need to pass the parent directory path to them, which is where the CMakeLists.txt file is located):

conan install .. --build=missing
cmake .. -DCMAKE_BUILD_TYPE=Release

Once cmake is done generating makefiles, we can build the app by running make inside our build directory:

make

Running the program

If everything went well with the compilation we can run the executable:

./bin/woden "../examples/hello_world/hello_world.wn"

You can also save the output to a cpp file:

./bin/woden "../examples/hello_world/hello_world.wn" > "../examples/hello_world/hello_world.cpp"

Installing

To install the app run:

sudo make install

By default the app will be installed in /usr/local/bin/ directory.

License

Woden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For more details, see LICENSE file.

Contributing

Contributions are welcome. If you have a feature request, or have found a bug, feel free to open a new issue. If you wish to contribute code, see CONTRIBUTING.md for more details.

About

A true Object-Oriented programming language

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published