Skip to content

Concoctist/concoct

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AppVeyor build status CodeFactor grade Matrix

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:

    image

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

    image

    Or:

    image

    image

  3. Generate the CMake cache:

    image

  4. Build Concoct:

    image

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

    image

Docker/Podman Steps

  1. Build image:

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

    podman run -it localhost/concoct
    

Contributing and Support :octocat:

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.