Commit Graph

  • 9020f437d4 fix: parser sets typeName for pointer types, simplify Lcx_LowerParam dimgigov 2026-05-31 21:18:16 +03:00
  • 646c1cad28 feat: while/loop, array indexing (hIndexPtr/hAssign/hLoad), hAssign for assignment expressions dimgigov 2026-05-31 21:10:17 +03:00
  • 0ae4424bbc fix: null literal emits 0 in C backend — minimal project builds successfully dimgigov 2026-05-31 21:05:42 +03:00
  • e2c1a21059 fix: pointer type names in let/cast/params (String*), cast uses actual target type dimgigov 2026-05-31 21:01:39 +03:00
  • 1495b24a9e fix: C codegen improvements - typedefs, forward decls, runtime decls, null-safe runtime dimgigov 2026-05-31 20:55:05 +03:00
  • e251200a2f fix: null-safe bux_strcmp/bux_strncmp/bux_strcpy, init alloca typeName — project build no longer crashes dimgigov 2026-05-31 20:49:54 +03:00
  • 535e446b47 fix: infinite-loop guards in match/struct-init parsers dimgigov 2026-05-31 20:29:59 +03:00
  • dee9a3614c fix: infinite-loop guard in block parser, retTypeKind/alloca type fixes — 11/14 pass dimgigov 2026-05-31 20:27:48 +03:00
  • 48ee40e7c5 feat: struct init in all phases, 9/14 modules pass check dimgigov 2026-05-31 20:21:20 +03:00
  • a6d3fedf83 Phase 7.10: extend struct field support to 64 fields, add field4-7 in parser dimgigov 2026-05-31 18:35:04 +03:00
  • 6744a35c03 Phase 7.10: workaround else-if bug in lexSkipWhitespace dimgigov 2026-05-31 18:24:44 +03:00
  • 74117595d2 Phase 7.10: multi-file project build, module braces, else-if fix, UTF-8 lexer dimgigov 2026-05-31 18:14:35 +03:00
  • 35b856bab4 Phase 7.10: buxc2 now compiles multi-statement Bux programs dimgigov 2026-05-31 17:25:03 +03:00
  • e8084b2840 Phase 7.10: command-line args + buxc2 check/build working dimgigov 2026-05-31 16:53:03 +03:00
  • cb256397bd Phase 7.9: Self-hosted compiler buxc2 builds and runs! 🎉 dimgigov 2026-05-31 16:34:36 +03:00
  • 166954204c perf: sema fast-path for large modules (>50 funcs) — skip body checking dimgigov 2026-05-31 14:33:32 +03:00
  • 679d406690 fix: c_backend.bux else-if replaced with if chain — all 14 files now parse dimgigov 2026-05-31 14:28:59 +03:00
  • de6e89e3df Phase 7.9: multi-file build, module braces, struct init multi-line, else-if fix dimgigov 2026-05-31 14:25:57 +03:00
  • f4de065160 fix: module syntax — changed src_bux/*.bux from module X; to module X { ... } dimgigov 2026-05-31 14:14:42 +03:00
  • 3c2a6e68b9 perf: Scope lookup O(1) via Table instead of O(n) linear search + module parse fix dimgigov 2026-05-31 14:10:55 +03:00
  • 42ebee9fc0 Phase 8: Std::Math module + comprehensive feature showcase demo dimgigov 2026-05-31 13:51:59 +03:00
  • f6f122b4e4 Phase 8.4: const func syntax — compile-time function declarations dimgigov 2026-05-31 13:50:25 +03:00
  • 98d1354b7a Phase 8.1: ! (unwrap/panic) operator — syntax, parsing, HIR lowering, runtime panic dimgigov 2026-05-31 13:45:55 +03:00
  • 3949a2f91e Phase 8.2 foundation: @[Checked] attr, &T refs, own keyword — gradual ownership syntax dimgigov 2026-05-31 13:39:20 +03:00
  • f71c034d9e docs: STRATEGY.md — как Bux ще победи Rust, Nim и C (gradual ownership) dimgigov 2026-05-31 13:35:02 +03:00
  • f7e7173d47 Phase 7.5: manifest.bux — final module, all 14 Nim files ported to Bux (4065 LOC) dimgigov 2026-05-31 13:31:57 +03:00
  • 6ee6b3b529 Phase 7: Self-hosting compiler — all 13 modules ported to Bux (3981 LOC) dimgigov 2026-05-31 13:29:14 +03:00
  • 5c1a00cbd6 Phase 5-7: generic inference, extend Type<T>, String stdlib, Map<K,V>, self-hosting audit, docs update dimgigov 2026-05-31 13:06:29 +03:00
  • 25f846bb00 docs: update PLAN.md with completed features dimgigov 2026-05-31 12:08:42 +03:00
  • b8f4ddc2b8 feat: generic Array<T> + fix method lookup ambiguity dimgigov 2026-05-31 12:05:55 +03:00
  • af14f392f6 feat: generic methods on generic structs + method call auto-addressing dimgigov 2026-05-31 11:57:52 +03:00
  • 9f733aca7d feat: generic struct monomorphization + tkUnknown fix dimgigov 2026-05-31 10:33:08 +03:00
  • 7ee6a73ea4 feat: Std::String, Std::Map, Result/Option, ? operator, sizeof fix, docs dimgigov 2026-05-31 10:15:44 +03:00
  • e328af6eee docs: update PLAN.md with completed phases dimgigov 2026-05-31 02:16:45 +03:00
  • b177e8fbce feat: add range-based for loops dimgigov 2026-05-31 02:13:30 +03:00
  • 92c5cd59f5 refactor: migrate examples to import Std::Io instead of raw extern func dimgigov 2026-05-31 02:01:28 +03:00
  • c7114c0538 feat: add stdlib module support with auto-import resolution dimgigov 2026-05-31 01:55:54 +03:00
  • 60d4260c93 fix: C backend, parser, sema, HIR lowering for all examples dimgigov 2026-05-31 01:07:45 +03:00
  • aa3433b5a9 feat: add generics support with monomorphization dimgigov 2026-05-31 00:22:03 +03:00
  • cf074bec89 feat: add algebraic enums (tagged unions) support dimgigov 2026-05-30 23:50:33 +03:00
  • b59e852330 feat: add method call support and analyzeFull dimgigov 2026-05-30 23:22:33 +03:00
  • 52608d5601 feat: add enum path expression support in codegen dimgigov 2026-05-30 23:11:03 +03:00
  • 3b03d43dd1 docs: add example programs dimgigov 2026-05-30 23:04:33 +03:00
  • bbb7e60042 fix: add tkAssign and compound assignment operators to C codegen dimgigov 2026-05-30 23:02:33 +03:00
  • 782aaa729d feat: add stdlib IO and extern function support dimgigov 2026-05-30 22:56:03 +03:00
  • 8e74215378 feat: add HIR, C backend, and end-to-end compilation dimgigov 2026-05-30 22:40:34 +03:00
  • 8e637c89e7 feat: semantic analysis + type checker (Phase 2) dimgigov 2026-05-30 21:36:42 +03:00
  • 713ab8e4d6 feat: parser + AST (Phase 1) dimgigov 2026-05-30 21:19:43 +03:00
  • 1b708ec755 feat: bootstrap skeleton + lexer (Phase 0) dimgigov 2026-05-30 21:01:26 +03:00