1
0
forked from alex-eg/sex

Commit Graph

  • 397766822d read the module graph off the import forms alex-eg 2026-10-14 23:21:49 +03:00
  • a504fc1410 build the unit tests and sextest from the root alex-eg 2026-10-14 23:21:20 +03:00
  • c65721a070 keep the local egg repository in a file of its own alex-eg 2026-10-14 23:20:38 +03:00
  • dcb65c5504 make each compiler module one file, built once alex-eg 2026-10-14 20:51:05 +03:00
  • 540f5c75cd tidy what the fixes wrote around existing helpers alex-eg 2026-10-19 18:21:14 +03:00
  • a4880f1b96 process an ops method's prototype once alex-eg 2026-10-19 18:21:10 +03:00
  • 64db505e6b work out what a module exports once per unit alex-eg 2026-10-19 18:21:02 +03:00
  • 62b1ead3eb refuse -o - for an executable or an object alex-eg 2026-10-15 14:49:46 +03:00
  • 6e150aaaf1 take a name after a qualified type as the bound alex-eg 2026-10-15 14:48:25 +03:00
  • f84010eda8 refuse a field a struct declared here does not have alex-eg 2026-10-15 14:47:12 +03:00
  • 2279c371f2 hold a function type's parameters by value on the interface alex-eg 2026-10-15 14:44:34 +03:00
  • 44101c0c06 tell what a member path walked from the fields it has left alex-eg 2026-10-14 20:09:49 +03:00
  • c97ae8583b share reading a test source and catching its error alex-eg 2026-10-14 20:09:17 +03:00
  • f87e9faa8f parenthesise a conditional without a helper to do it for alex-eg 2026-10-14 20:09:17 +03:00
  • 8f152c2593 tell a grouped for header by its shape, not by a var in it alex-eg 2026-10-14 20:08:39 +03:00
  • 70aafb70e6 read each module once per unit alex-eg 2026-10-14 20:08:16 +03:00
  • dcd93c0d9e compile the name spellings once, and skip a name that has none alex-eg 2026-10-14 20:07:20 +03:00
  • 5b3f2bd421 name the test for output going to stdout alex-eg 2026-10-14 20:07:03 +03:00
  • 1158768446 keep the parameter-type rule in types, where both readers find it alex-eg 2026-10-14 20:06:51 +03:00
  • 049d97b5e1 declare an ops method ahead through the one prototype accessor alex-eg 2026-10-14 20:06:51 +03:00
  • 70228366ee drop walk-literal, which the rebase left without callers alex-eg 2026-10-14 20:05:26 +03:00
  • 541d9cd610 check the constants a module's interface hands its importers alex-eg 2026-10-09 18:21:11 +03:00
  • 5ccbb5d7e0 write a double in the digits that read back as it alex-eg 2026-10-09 18:15:54 +03:00
  • 449a53abf9 hand sexc every digit of a test program's doubles alex-eg 2026-10-09 18:15:54 +03:00
  • e29c6ee5c9 parenthesise what a subscript subscripts alex-eg 2026-10-09 18:03:21 +03:00
  • 981eb6f755 print the public interface in declaration order alex-eg 2026-10-09 17:47:25 +03:00
  • dc15aaadab write a make rule for the modules a unit reads alex-eg 2026-10-09 17:44:36 +03:00
  • b998d298dd check what a module's importers can see of its types alex-eg 2026-10-09 17:43:09 +03:00
  • 19090414b7 let a method call one written below it alex-eg 2026-10-09 17:37:03 +03:00
  • 9fd40da8b1 resolve a relative SEX_MODULE_PATH entry from the working directory alex-eg 2026-10-09 17:35:05 +03:00
  • 7abb125932 take -o - as stdout alex-eg 2026-10-09 17:34:02 +03:00
  • b019da3fb3 name what a member path could not type alex-eg 2026-10-09 17:28:20 +03:00
  • a5520bf4b9 walk what an initializer holds alex-eg 2026-10-09 17:27:02 +03:00
  • b8098f1508 reject a for whose header is grouped alex-eg 2026-10-09 17:26:03 +03:00
  • 9057cbfcc6 anchor an if's arms only where the if is a statement alex-eg 2026-10-09 17:25:09 +03:00
  • 7f0b194d2b make a declaring case body a block alex-eg 2026-10-09 17:23:42 +03:00
  • 7532c72dec write arrays with brackets in tests alex-eg 2026-10-09 16:32:36 +03:00
  • f3d9c95daf read hex and binary literals alex-eg 2026-10-09 16:06:14 +03:00
  • cc0f7f91ec read -NAME as the negation of NAME alex-eg 2026-10-09 16:05:03 +03:00
  • ab4fdc54f3 let sizeof take a type that looks like an expression alex-eg 2026-10-09 16:04:00 +03:00
  • f0a1b6712f spell ? and ! in names as letters C takes alex-eg 2026-10-09 16:01:32 +03:00
  • ba45069484 walk a define's body, and parenthesise it alex-eg 2026-10-09 16:00:28 +03:00
  • 8db9246389 convert enumerators written with a value alex-eg 2026-10-09 15:59:16 +03:00
  • 6f29a9c203 write a typedef's target as a type alex-eg 2026-10-09 15:58:01 +03:00
  • bc5f23881f spell an array bound as an expression alex-eg 2026-10-09 15:56:32 +03:00
  • dfdca46e1e tell an array's bound by the shape of its type alex-eg 2026-10-09 15:55:33 +03:00
  • 8bc27cba26 parenthesise casts and conditionals by precedence alex-eg 2026-10-09 15:41:43 +03:00
  • db5507b180 give a record's docstring a line of its own alex-eg 2026-10-19 15:35:34 +03:00
  • 5f130f4f32 order types.scm by what each part reads alex-eg 2026-10-19 15:35:26 +03:00
  • b5030e3824 say what the threading test checks, not how -> came free alex-eg 2026-10-19 15:34:20 +03:00
  • 8f7b26eafa name the encapsulation test after what it covers alex-eg 2026-10-19 15:34:10 +03:00
  • 958978efd3 keep the threading macro out of the writer's arrow comment alex-eg 2026-10-19 15:33:51 +03:00
  • 063770d3bc document the standard library beside it, not in the readme alex-eg 2026-10-19 15:33:51 +03:00
  • a885c21b9b infer a global's type before its braces lose theirs alex-eg 2026-10-19 15:33:37 +03:00
  • a0b323980f refuse a match in a case label alex-eg 2026-10-19 15:32:47 +03:00
  • 913af0b463 start a global from braces, not a compound literal alex-eg 2026-10-15 11:20:53 +03:00
  • 6cda0873c6 hold a literal for an array field to the field's length alex-eg 2026-10-15 11:15:57 +03:00
  • 0a5eb1e0ce refuse a match in a control form's test alex-eg 2026-10-15 11:15:19 +03:00
  • 0a565046af say that a binder is a copy, and where %-> is alex-eg 2026-10-14 17:27:52 +03:00
  • b51cda0af3 highlight ops and match alex-eg 2026-10-14 17:27:52 +03:00
  • 9c5f678830 hand an array field its elements alex-eg 2026-10-14 17:14:36 +03:00
  • 427177d50f write a sum's constructors in place alex-eg 2026-10-14 17:11:38 +03:00
  • e91b44dbe1 walk a global's initializer like a local's alex-eg 2026-10-14 17:08:42 +03:00
  • 9af9113bf5 walk the values of a brace literal alex-eg 2026-10-14 17:07:20 +03:00
  • 224ef8fb6b file methods, realizations and sums under what a typedef names alex-eg 2026-10-14 16:54:16 +03:00
  • bb2f05fa36 type a macro call by what it expands to alex-eg 2026-10-14 16:40:37 +03:00
  • 3baaafafc3 refuse the matches and sums cc would refuse alex-eg 2026-10-14 16:37:51 +03:00
  • 5ba55f05a5 read a spread self as the pointer it is alex-eg 2026-10-14 16:24:00 +03:00
  • f5c53cdd41 tell a spec default by its body, not its length alex-eg 2026-10-14 15:54:07 +03:00
  • 0119c85ded link ops.sex against libm alex-eg 2026-10-09 15:18:18 +03:00
  • dfafe8becd lay out threading.sex one step to a line alex-eg 2026-10-08 11:09:42 +03:00
  • e9960488fb test an opaque record across a module boundary alex-eg 2026-10-08 11:09:42 +03:00
  • 6c8b38b7e2 floor the C target at C11 alex-eg 2026-10-08 11:09:42 +03:00
  • dd3a4bdac5 implement thread-first -> alex-eg 2026-10-05 02:08:15 +03:00
  • fb4b8aa1f9 dispatch . on the type it reads from alex-eg 2026-10-05 02:08:15 +03:00
  • 95f39e4b44 space toplevel forms the way the source does alex-eg 2026-10-05 02:08:15 +03:00
  • 7f3f22e853 type a method call, so one can be another's receiver alex-eg 2026-10-04 14:04:01 +03:00
  • f071684aec do not mangle an include's target alex-eg 2026-10-04 13:59:18 +03:00
  • 737864dadc keep the worked example honest alex-eg 2026-10-04 13:25:17 +03:00
  • 6181a6c8d4 implement spec and realize alex-eg 2026-10-04 12:56:24 +03:00
  • 07cf85910a test what record, ops, sum and match refuse alex-eg 2026-10-03 23:33:38 +03:00
  • 4a649e5bf4 walk the cdr of a form as a list, not as a form alex-eg 2026-10-03 23:33:32 +03:00
  • bbdedb9777 put the method in the head, not in a field position alex-eg 2026-10-03 23:17:44 +03:00
  • 3a10ee099b implement sum and match alex-eg 2026-10-03 22:59:15 +03:00
  • dea36e3c02 implement ops alex-eg 2026-10-03 22:29:55 +03:00
  • 622db8eadc add record, a struct that names itself alex-eg 2026-10-03 22:28:48 +03:00
  • 2512d52dd1 keep a module's public forms in declaration order alex-eg 2026-10-03 22:28:14 +03:00
  • a860da6d7e show the cases the comments were describing alex-eg 2026-09-30 23:48:31 +03:00
  • fe72a109bf read a var's type as a type, not as a call alex-eg 2026-09-30 23:20:55 +03:00
  • e87463be87 type the operators the walk had no rule for alex-eg 2026-09-30 23:12:52 +03:00
  • f5eee71eb7 declare the closure environment in c99 alex-eg 2026-09-30 14:36:07 +03:00
  • 024e97553b keep closure signatures apart when mangled alex-eg 2026-09-30 14:33:57 +03:00
  • 578feb6b73 scope and promote the way C does alex-eg 2026-09-30 14:13:19 +03:00
  • 2da5b5005b give fmt-c a name for every parameter alex-eg 2026-09-30 13:22:07 +03:00
  • 2b73fcf1c4 answer where a written type ends in one place alex-eg 2026-09-30 12:54:21 +03:00
  • 9daaa42d6a ignore the attic directory alex-eg 2026-09-29 23:52:08 +03:00
  • 1f445f0f9b implement type inference alex-eg 2026-09-29 23:52:08 +03:00
  • 53f92727a5 mark multi-form macro expansions with $ alex-eg 2026-09-29 23:51:41 +03:00
  • 6f54bfbe08 restore type inference layer 0 alex-eg 2026-09-29 23:48:32 +03:00
  • cd3016b6b8 fix (¤ int N) expanding to int N a[] alex-eg 2026-09-29 21:38:36 +03:00