Code generation improvements #7

Merged
alex-eg merged 9 commits from generate-c89-code into main 2025-08-22 14:47:36 +02:00
alex-eg commented 2025-08-21 17:27:37 +02:00 (Migrated from github.com)
  • force c89 flag
  • fix some newline and brace issues in fmt-c
  • split tests in separate files
  • add begin kw to Sex
  • drop int as default type
  • generate (void) argument list for functions w/o arguments
* force c89 flag * fix some newline and brace issues in fmt-c * split tests in separate files * add begin kw to Sex * drop int as default type * generate `(void)` argument list for functions w/o arguments
pkulev (Migrated from github.com) requested changes 2025-08-21 18:01:26 +02:00
@@ -12,9 +12,9 @@ main.o: main.scm
%.o: %.scm
pkulev (Migrated from github.com) commented 2025-08-21 17:32:57 +02:00

Update cleanup accordingly.

Update cleanup accordingly.
pkulev (Migrated from github.com) commented 2025-08-21 18:01:11 +02:00

Add test cases for those please.

Add test cases for those please.
@@ -0,0 +1,31 @@
;;; unkebabify
pkulev (Migrated from github.com) commented 2025-08-21 18:00:42 +02:00

Seems it needs to be updated too

(test '%block-begin (atom-to-fmt-c 'begin))
Seems it needs to be updated too ```suggestion (test '%block-begin (atom-to-fmt-c 'begin)) ```
pkulev (Migrated from github.com) requested changes 2025-08-21 23:15:23 +02:00
pkulev (Migrated from github.com) commented 2025-08-21 23:15:20 +02:00

Probably forgot about them.

Probably forgot about them.
alex-eg (Migrated from github.com) reviewed 2025-08-22 12:08:43 +02:00
alex-eg (Migrated from github.com) commented 2025-08-22 12:08:43 +02:00

Oh yeah, fixed now.

Oh yeah, fixed now.
pkulev (Migrated from github.com) approved these changes 2025-08-22 13:01:03 +02:00
Sign in to join this conversation.