defined.cr

Compiler tools

Provides macros and facilities to check constants and make code conditionally compileable at runtime

This shard provides facilities for checking whether a constant exists at compile time, and for a variety of different conditional compilation options. Code can be conditionally compiled based on the existence of a constant, version number constraints, or whether an environment variable is set truthy or not.

GitHub

17 stars
3 watching
1 forks
Language: Crystal
last commit: 2 months ago
Linked from 1 awesome list

crystal

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
wyhaines/serf-handler.cr Port of Ruby Serf Handler gem in Crystal language to build compiled handler binaries 1
anicholson/crystal-version-tools Tools to conditionally apply different behavior based on semantic versions at compile-time. 9
ryanmjacobs/c A utility for compiling and executing C scripts in one go! 2,107
l1mey112/crepl A compiler and interpreter for executing C code on the fly as it is typed. 29
whiley/whileycompiler Compiles Whiley source files into an intermediate language 220
crystal-lang/clang.cr A set of bindings and tools to interact with the Clang compiler using Crystal programming language 47
taviso/ctypes.sh A foreign function interface plugin for bash that allows calling C functions from within bash scripts. 2,109
haskell-ci/haskell-ci Generates CI workflows for multiple versions of the Haskell programming language compiler 438
endrazine/wcc A collection of compilation tools for performing binary modifications on ELF binaries. 1,857
janwilmans/compiletimer Measures and compares compile times of C++ constructs in various scenarios 6
leepike/copilot A language and toolset for generating hard real-time C code from a domain-specific stream language 149
michaelforney/cproc An implementation of a C11 compiler using the QBE backend and various extensions. 737
champii/rock A Rust-based compiler and runtime environment designed to provide a safe and efficient way to execute functional programming languages. 67
vsedach/vacietis Compiles C code into Common Lisp and provides a Lisp-to-C compiler executable. 307
onqtam/rcrl An interactive C++ compiler and runtime environment for rapid development and live coding 413