CRYSTAL-EVAL(1)
π CRYSTAL-EVAL(1) π
hey bestie, welcome to the CRYSTAL-EVAL(1) manual page β this is the crystal-eval vibe check, and it's literally all about evaluating a crystal program. no cap. π«Ά
β¨ NAME β¨
crystal-eval β evaluate a crystal program. that's the whole assignment, and it ate. π
π¦ SYNOPSIS π¦
crystal eval [options] [source]
πΈ DESCRIPTION πΈ
okay so here's the tea: you can evaluate code straight from the arguments, or β if you don't pass any arguments β it reads from the standard input. it's useful for experiments. lowkey iconic for trying stuff out. π§
π OPTIONS π
-d,--debugβ generate the output with symbolic debug symbols. these are read when you're debugging the built program with tools likelldb,gdb,valgrindetc., and they provide mappings to the original source code for those tools. debugging bestie behavior. π₯--no-debugβ generate the output without any symbolic debug symbols. no debug symbols, no problem. π-D FLAG,--define FLAGβ define a compile-time flag. this is useful to conditionally define types, methods, or commands based on flags available at compile time. the default flags are from the target triple given with--target-tripleor the host's default, if none is given. flags are giving main character energy. π--error-traceβ show the full error trace. when errors get dramatic, you get the whole story. π-O LEVELβ optimization mode:0(default),1,2,3. see OPTIMIZATIONS for details. pick your level, bestie. β--releaseβ compile in release mode. equivalent to-O3 --single-module. it's the glow-up build. π-s,--statsβ print statistics about the different compiler stages for the current build. output time and used memory for each compiler process. numbers, but make it cute. π-p,--progressβ print statistics about the progress for the current build. we love a progress update. π-t,--timeβ print statistics about the execution time. clock it. β°--no-colorβ disable colored output. for when you want your terminal in its neutral era. π
and that's the whole page, bestie. this manual is serving crystal 1.22.2 energy, dated 2026-10-30, and it's the CRYSTAL-EVAL(1) page β periodt. πβ¨
π¦ where this page comes from
- arch rolling: crystal 1.22.2-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms