Cone Programming Language
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
Cone is a fast, fit, friendly, and safe systems programming language. It features:
The Cone compiler is currently under development. The current status and next steps are documented in PLAN.md.
The Cone home repository offers a rudimentary build environment for Cone programs, including the Congo build tool and additional example Cone programs.
When finished, Cone will support these features:
A Visual Studio C++ solution can be created using the Cone.vcxproj project file. The generated object and executable files are created relative to the location of the solutions file. The build depends on LLVM 7 being installed and available at $(LLVMDIR).
To build on Linux:
sudo apt-get install llvm-7-dev cmake . make
Note: To generate WebAssembly, it is necessary to custom-build LLVM, e.g.:
mkdir llvm cd llvm svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm-src cd llvm-src/tools svn co http://llvm.org/svn/llvm-project/cfe/trunk clang svn co http://llvm.org/svn/llvm-project/lld/trunk lld cd ../.. mkdir llvm-build cd llvm-build CC=clang CXX=clang++ cmake -G "Unix Makefiles" -DLLVM_BUILD_LLVM_DYLIB=ON -DCMAKE_INSTALL_PREFIX=/llvm/wasm -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly /llvm/llvm-src make make install
To build on Mac OS:
brew install --with-toolchain llvm llvm-config --bindir
CMake will auto-detect LLVM, so all you should need to do:
cmake . make
The Cone programming language compiler is distributed under the terms of the MIT license. See LICENSE and COPYRIGHT for details.