• Joined on 2026-01-12
alex-eg opened issue alex-eg/sex#71 2026-10-19 14:09:44 +02:00
-c names its output a.out, and -m output is not Sex
alex-eg opened issue alex-eg/sex#70 2026-10-19 14:09:44 +02:00
Closures written in a few ways reach C unchecked
alex-eg opened issue alex-eg/sex#69 2026-10-19 14:09:43 +02:00
Emitted C draws warnings, or fails, in a few shapes
alex-eg opened issue alex-eg/sex#68 2026-10-19 14:09:42 +02:00
_ mistypes or refuses a few expressions
alex-eg pushed to main at alex-eg/VS-map-previewer 2026-10-15 22:53:59 +02:00
e42e7b46b5 Add ability to set custom spawn location
alex-eg pushed to main at alex-eg/VS-map-previewer 2026-10-15 22:53:32 +02:00
dc15ec21a4 add cJSON as submodule
alex-eg created pull request alex-eg/sex#67 2026-10-15 15:32:00 +02:00
Simplify the build: one-file modules, a module graph read off the imports
alex-eg created branch project-infrastructure-improvements in alex-eg/sex 2026-10-15 14:55:08 +02:00
alex-eg pushed to project-infrastructure-improvements at alex-eg/sex 2026-10-15 14:55:08 +02:00
d8903c38f1 drop the default SEXC from the check scripts' usage
ebe7969553 build the programs the way the modules are built
2b840eb8c0 take every program in tests/sex-programs as a test
3b717f9634 check modules and exit codes with the test egg
2cd980bdf1 read the module graph off the import forms
Compare 8 commits »
alex-eg commented on pull request alex-eg/sex#66 2026-10-15 13:54:03 +02:00
bugfixes

Thanks. The branch is rebased onto the updated static-dispatch (913af0b) and force-pushed. Each of the four now refuses its repro or compiles it. make run-tests is green, and vs-map-viewer and…

alex-eg pushed to bugfixes at alex-eg/sex 2026-10-15 13:53:52 +02:00
c317d9950c refuse -o - for an executable or an object
6ced17c20e take a name after a qualified type as the bound
dd1718dffb refuse a field a struct declared here does not have
4ac386f373 hold a function type's parameters by value on the interface
1599832ece tell what a member path walked from the fields it has left
Compare 43 commits »
alex-eg commented on pull request alex-eg/sex#64 2026-10-15 12:31:16 +02:00
Add encapsulation, sum types, type constraints and all the required machinery. Also -> threading macro

Thanks. The three that were still open are closed on the branch. make run-tests is green.

match in a test

0a5eb1e. if, while, for and switch no longer walk every slot alike. The…

alex-eg pushed to static-dispatch at alex-eg/sex 2026-10-15 12:31:05 +02:00
913af0b463 start a global from braces, not a compound literal
6cda0873c6 hold a literal for an array field to the field's length
0a5eb1e0ce refuse a match in a control form's test
Compare 3 commits »
alex-eg pushed to bugfixes at alex-eg/sex 2026-10-14 19:28:23 +02:00
f9809c19c4 tell what a member path walked from the fields it has left
31b7046048 share reading a test source and catching its error
2cfce45935 parenthesise a conditional without a helper to do it for
bb252dc244 tell a grouped for header by its shape, not by a var in it
eeb5357fd4 read each module once per unit
Compare 10 commits »
alex-eg created pull request alex-eg/sex#66 2026-10-14 18:56:01 +02:00
bugfixes
alex-eg pushed to bugfixes at alex-eg/sex 2026-10-14 18:23:19 +02:00
ae9cdbbf31 check the constants a module's interface hands its importers
66d088f6fc write a double in the digits that read back as it
3737f90641 hand sexc every digit of a test program's doubles
58f145bd95 parenthesise what a subscript subscripts
e6b6ca799d print the public interface in declaration order
Compare 37 commits »
alex-eg commented on pull request alex-eg/sex#64 2026-10-14 17:23:26 +02:00
Add encapsulation, sum types, type constraints and all the required machinery. Also -> threading macro

Thanks, all six are fixed on the branch, each with its repro turned into a test (tests/encapsulation.scm, sums.sex). make run-tests is green.

1. Required spec methods

f5c53cd. A method…

alex-eg pushed to static-dispatch at alex-eg/sex 2026-10-14 17:22:39 +02:00
0a565046af say that a binder is a copy, and where %-> is
b51cda0af3 highlight ops and match
9c5f678830 hand an array field its elements
427177d50f write a sum's constructors in place
e91b44dbe1 walk a global's initializer like a local's
Compare 11 commits »
alex-eg pushed to main at alex-eg/VS-map-previewer 2026-10-10 17:24:49 +02:00
40defbd367 place hot springs as GenHotSprings does, and find the nearest
82774445af show the caves on the map, and find the nearest entrance
aeb6d3be22 carve caves as GenCaves does, and check them block by block
2c16f8caef read the save's chunk blocks, and check the rock below the surface
53950a465c show silver, gold and peridot by their ore maps
Compare 5 commits »