ludic/selfhost/backend
Orkuncakilkaya e010c2cecc feat(lang): float and double types with ordinary operators
`float` (32-bit) and `double` (64-bit) with + - * / %, comparisons and unary minus.
Decimal literals take their type from context and stay `fixed` elsewhere; int and long
promote implicitly (LUDIC_WARN_FLOAT_PROMOTE=1 lists every promotion). float(), double(),
int(), long() and fixed() convert; floats(n)/doubles(n) buffers; float fields, globals,
constants and parameters; Math.* computes in float for float arguments; string/print
write the shortest round-tripping decimal; float_bits/float_from_bits expose the bits.
@deterministic code may not use floats. The f_* runtime helpers stay as they are.

Editors know the new type words; the JetBrains plugin is 1.5.0.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 16:13:31 +03:00
..
game feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
stdlib feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
emit_addr.ludic feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
emit_call.ludic feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
emit_core.ludic feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
emit_decl.ludic feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
emit_expr.ludic feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
emit_float.ludic feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
emit_head.ludic feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
emit_intrin.ludic feat(windows): a Windows target for ludicc, and the compiler builds itself there 2026-09-13 01:59:41 +03:00
emit_intrin2.ludic fix(input): keys are physical positions on every layout; Input.key_label names them 2026-09-15 23:26:53 +03:00
emit_mem.ludic refactor(selfhost): reorganise into concern-based subdirectories 2026-08-31 00:26:02 +03:00
emit_new.ludic feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00
emit_stmt.ludic feat(lang): float and double types with ordinary operators 2026-09-16 16:13:31 +03:00