Buy the binary for Windows over at itchio to support the developer
CodeNect is a visual programming software developed for my thesis as a supplementary tool for beginners in programming.
Check the media for a ton of images
- The visual code can be compiled to C code using
TinyC Compiler - No installation needed
The following data types (slots) are supported:
- Bool
- Integer
- Float
- Double
- String
The following nodes are supported:
- Variable
- Operation -
+,-,*,/ - Comparision -
==,!=,<,>,<=,>=,&&,|| - Action:
- Prompt
- Set
- Mathematical functions:
- Root
- Power
- Sine
- Cosine
- Tangent
- String functions:
- To lowercase
- To uppercase
- To arrray
- Get
- Variable (string) length
- Array size
- Array element (by index)
- Branch/If
- For-Loop
- Data Structure:
- Array
The supported platforms are:
- Linux
- Windows 7, 10 (64 bit)
- macOS (Apple Silicon / arm64, also builds on Intel)
- CMake (3.16 or higher on macOS for Objective-C support)
- Ninja
- Clang++ (11.1.0 or higher)
- C++17
Platform specific libraries:
- Linux:
gtk+-3.0,glfw3, OpenGL - Windows: bundled in
lib/ - macOS:
glfw, OpenGL (system framework), Cocoa/AppKit (system framework)
(clone the repo first then get the submodules)
git clone https://github.com/flamendless/CodeNect-VPS.git
cd CodeNect-VPS
git submodule update --init --recursive
- For Linux, just run
./build.sh rebuild && ./build.sh compile && ./build.sh run - For Windows, just run
build_win.bat - For macOS (Apple Silicon), see the section below
- Install the Xcode Command Line Tools (provides
clang,make,git):
xcode-select --install
- Install the build dependencies and build the architecture-specific
libtccin one step with Homebrew:
./build.sh deps_macos
This runs brew install cmake ninja pkg-config glfw and then
./scripts/build_tcc_macos.sh, which compiles TinyCC for your Mac and
installs libtcc.a/libtcc1.a into lib/macos/. You can also run those
two steps manually if you prefer.
- Build and run just like on Linux:
./build.sh rebuild && ./build.sh compile && ./build.sh run
Note: The
libtccstatic libraries are architecture and SDK specific, so they are not committed to the repo../scripts/build_tcc_macos.shbuilds them for your machine. TinyCC's macOS (Mach-O) backend is experimental, especially on Apple Silicon; pin a known-good ref with./scripts/build_tcc_macos.sh <git-ref>if you hit issues.
cd test && ./build.sh rebuild./build.sh test_detailedor./build.sh test_summary
CodeNect is grateful to the following tool/libraries for making it possible:
- better-enums
- ImGuiColorTextEdit
- fmt
- IconFontCppHeaders
- DearImGui
- Doctest
- GLFW
- ImGuiMarkdown
- ImNodes
- nativefiledialog
- plog
- PPK_ASSERT
- simpleini
- stb_image
- TinyC Compiler
- Tweeny
- CppVerbalExpressions
License is GNU General Public License v3.0
