Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Concoctist/concoct

Repository files navigation

Concoct

Concoct is an imperative, dynamically-typed, interpreted, general-purpose programming language written in C.

Note: This project is very much a work in progress. The interpreter is not yet functional. Have a look at the roadmap.

For more information about Concoct, please see the wiki.

Building

Requirements

Linux/Unix and Cygwin Steps

  1. Install prerequisites: Debian/Ubuntu:

    apt-get install cmake gcc git make

    CentOS/Fedora/RHEL:

    yum install cmake gcc git make

    FreeBSD:

    pkg install clang cmake git make
  2. Obtain the source code via git or download a zip archive:

    git clone https://github.com/Concoctist/concoct.git

    Or:

    wget https://github.com/Concoctist/concoct/archive/master.zip && unzip master.zip
  3. In the top-level directory where CMakeLists.txt exists, create a build directory:

    mkdir bld && cd bld
  4. Generate the Makefile (you can alternatively use ccmake here if you prefer):

    cmake ..
  5. Build Concoct:

    make
  6. There should now be a concoct executable under the bin directory if the build was successful:

    $ ./concoct -v
    Concoct v0.1.0 rev 148 (d976be2) (64-bit Linux) (Debug) built at 00:46 on 01-02-2022

Windows Steps

  1. Install the prerequisite software. This includes Visual Studio >=2015 with the "Desktop development with C++" workload as shown below. The aforementioned workload should include CMake. You can also optionally install Git and add the executable to your path:

  2. Clone the Concoct source code. This can be done via Visual Studio or by using a git client of your choice:

    Or:

  3. Generate the CMake cache:

  4. Build Concoct:

  5. If the build was successful, concoct.exe should now exist in your output directory:

Docker/Podman Steps

  1. Build image:

    podman build -t concoct -f Containerfile
  2. Run container:

    podman run -it localhost/concoct

Contributing and Support

Feel free to submit an issue if you require assistance or would like to make a feature request. You are also welcome to join us on Matrix at https://matrix.concoct.ist/. Any contributions such as build testing, creating bug reports or feature requests, and submitting pull requests are appreciated. Our code style guidelines can be found in the "Coding Convention" section of CONTRIBUTING.md. Please see the fork and pull guide for direction if you are not certain how to submit a pull request.

About

An imperative, dynamically-typed, interpreted, general-purpose programming language

Topics

Resources

Readme

License

BSD-2-Clause license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors