Pavel Kulyov pkulev
pkulev commented on issue alex-eg/sex#22 2026-09-15 23:48:10 +02:00
[linux:gentoo] Package chicken libraries (Sex dependencies) and Sex

Done previously, and updated for C6 in https://github.com/pkulev/riru/pull/100.

pkulev closed issue alex-eg/sex#22 2026-09-15 23:48:10 +02:00
[linux:gentoo] Package chicken libraries (Sex dependencies) and Sex
pkulev commented on pull request alex-eg/sex#27 2026-09-15 21:15:56 +02:00
Add type db, some nice macro features and a brand new SDL3 example

(pub enum …) dies here: struct/union/typedef are forwarded, enum is not. Same-file (pub enum color (red green blue)) is pub must be followed by a definition with no file:line: (this is the cdr of the pub form, which has no location of its own). Non-pub enums emit fine.

pkulev commented on pull request alex-eg/sex#27 2026-09-15 21:15:56 +02:00
Add type db, some nice macro features and a brand new SDL3 example

This, plus -framework OpenGL in the build line, is Apple's GL 3.3. On Linux OpenGL/gl3.h is missing and gcc does not know -framework; swapping in SDL3/SDL_opengl.h is not enough either (no glCreateShader). Fine as a macOS example — worth saying so in the header, since CI is Ubuntu.

pkulev commented on pull request alex-eg/sex#27 2026-09-15 21:15:56 +02:00
Add type db, some nice macro features and a brand new SDL3 example

These wait values never become the process exit code: main ignores what compile-to-file returns, so sexc file.sex -- -bogus-flag prints the cc error and exits 0. sextest then treats that as a successful compile. Also delete-file* only runs after wait; if emit-c throws, the temp .c stays in /tmp.

pkulev commented on pull request alex-eg/sex#27 2026-09-15 21:15:56 +02:00
Add type db, some nice macro features and a brand new SDL3 example

This is what makes serialize-struct work — but only for aggregates that go through match-sex-form. process-imports still just conses public structs, so a pub struct living in another module is visible as C and invisible to map-fields. I compiled that: serialize-struct: no such struct: point. The TODO on the module reader is this.

pkulev commented on pull request alex-eg/sex#27 2026-09-15 21:15:56 +02:00
Add type db, some nice macro features and a brand new SDL3 example

Same hole on import: struct typedef union are pasted, enum is not, so --public-interface on a module that exports an enum is pub must be followed by a definition and cites the location correctly. Adding enum next to union is the whitelist half; walk-public is the other.

pkulev approved alex-eg/sex#27 2026-09-15 21:15:56 +02:00
Add type db, some nice macro features and a brand new SDL3 example

Built and ran this on CHICKEN 6.0.0 (worktree at 85bf1c1). This is the real thing: a type database the macros can actually ask questions of, plus an SDL3 program that only exists because the earlier codegen holes got closed.

pkulev deleted branch ci/githubless-actions from pkulev/sex 2026-09-15 20:13:50 +02:00
pkulev pushed to main at alex-eg/sex 2026-09-15 20:13:49 +02:00
df5a933f01 ci: use gitea actions platform without access to github
pkulev merged pull request alex-eg/sex#28 2026-09-15 20:13:48 +02:00
ci: use gitea actions platform without access to github
pkulev created pull request alex-eg/sex#28 2026-09-15 20:02:27 +02:00
ci: use gitea actions platform without access to github
pkulev created branch ci/githubless-actions in pkulev/sex 2026-09-15 20:02:04 +02:00
pkulev pushed to ci/githubless-actions at pkulev/sex 2026-09-15 20:02:04 +02:00
df5a933f01 ci: use gitea actions platform without access to github
pkulev created repository pkulev/sex 2026-09-15 20:00:33 +02:00
pkulev approved alex-eg/sex#26 2026-09-15 19:40:32 +02:00
Implement our parser, . field access, comment preservation and line number tracking for source-level debugging

Re-review of 5f9f90e on CHICKEN 6.0.0. The last blocker is gone.

pkulev suggested changes for alex-eg/sex#26 2026-09-15 18:11:50 +02:00
Implement our parser, . field access, comment preservation and line number tracking for source-level debugging

Re-review of 7e6e324 on CHICKEN 6.0.0. Previous items on comments and make run-tests are fixed. The issue #16 success program still does not compile.

pkulev commented on pull request alex-eg/sex#26 2026-09-15 18:11:50 +02:00
Implement our parser, . field access, comment preservation and line number tracking for source-level debugging

This is the remaining #16 hole. After the new reader, `(

pkulev commented on pull request alex-eg/sex#26 2026-09-15 18:11:50 +02:00
Implement our parser, . field access, comment preservation and line number tracking for source-level debugging

These tests are why the suite is green while the #16 sample still fails: they pin comments and casts, but not `(

pkulev commented on pull request alex-eg/sex#26 2026-09-14 23:40:08 +02:00
Implement our parser, . field access, comment preservation and line number tracking for source-level debugging

Still only c-or / c-bit-or / c-bit-or=. After the new reader, `(