Skip to content

Releases: deifics/deific-lang

v0.1.2

14 Jun 17:12

Choose a tag to compare

What's new

deific pipe subcommand

Compile and run a .df file with optional file-based stdin:
deific pipe solver.df --input big_input.txt

Exit code passes through, safe to chain in scripts.

Python integration helper (deific/)

Zero-dependency Python package for calling Deific programs as subprocesses.
deific.run() captures stdout/stderr; deific.pipe() streams to terminal.

v0.1.1

14 Jun 01:13

Choose a tag to compare

What's new

Language

exit() - instantly terminate the program from anywhere

if error:
    exit(1)

const - compile-time constants, folded directly into generated code

const MAX = 1000000
const PI = 3.14159

static - local variables that persist across function calls

func count() -> int:
    static n = 0
    n += 1
    return n

inline func - hint to the compiler to eliminate call overhead for hot functions

inline func clamp(x: int, lo: int, hi: int) -> int:
    return max(lo, min(hi, x))

Other

  • README rewritten - clearer install instructions and full language reference
  • GitHub Stars badge added
  • CI workflow now skips example files without a main function

v0.1.0

14 Jun 00:53

Choose a tag to compare

ci: add release workflow to build and upload binaries on version tags