Commit Graph

130 Commits

Author SHA1 Message Date
dzaima
6860ba5f9d make some more flags compile 2021-10-11 22:39:52 +03:00
dzaima
a62a41249e native ◶ 2021-10-10 22:54:39 +03:00
dzaima
a15f66c43b rename formatting functions 2021-09-25 13:53:53 +03:00
dzaima
8cc6732cd4 ⌾⥊ and ⌾(const G H) 2021-09-25 02:34:58 +03:00
dzaima
c53b4b2294 move builtins.h to root of src 2021-09-21 17:28:25 +03:00
dzaima
cd5f50e3eb incG 2021-09-16 17:09:12 +03:00
dzaima
93f362c4f2 use str8l more 2021-09-11 23:52:27 +03:00
dzaima
a36ae1a716 pass untagged pointer to get & getU 2021-09-09 23:52:18 +03:00
dzaima
59dcde16c9 untag this pointer of modifier impl functions 2021-09-09 21:38:56 +03:00
dzaima
21ba88751a working i8/i16-arrs 2021-09-05 16:06:31 +03:00
dzaima
80be141968 tyarr.c 2021-09-05 02:58:18 +03:00
dzaima
b38db2dda0 use err more 2021-08-21 00:14:26 +03:00
dzaima
de86ce2aaa src/README.md, and cleaning up things while at it 2021-08-14 21:27:06 +03:00
dzaima
2ab2f35a34 move fmtF to •Glyph 2021-08-04 22:06:33 +03:00
dzaima
849eeff465 initialize ia on allocation always 2021-08-03 02:57:46 +03:00
dzaima
c00834cf15 move mm_free call into virtual function so dec is simpler 2021-07-30 04:40:56 +03:00
dzaima
b18157d86b native ⥊
it's horrible but it appears to work
2021-07-27 19:48:22 +03:00
dzaima
64b3a4ae6a clean up cc.bqn, specialize small arrays 2021-07-22 19:48:45 +03:00
dzaima
9f3ca80509 make it actually run
wow
2021-07-22 04:28:19 +03:00
dzaima
e04cd3c135 make gcc warn less 2021-07-22 03:38:25 +03:00
dzaima
5dd7288144 strict prototypes 2021-07-20 22:21:59 +03:00
dzaima
99896fbace improving loop counter variable types 2021-07-20 21:32:41 +03:00
dzaima
9ae1ab80cf multiple body support 2021-07-16 22:42:22 +03:00
dzaima
aef9702b7b list-of-structs → struct-of-lists for TypeInfo 2021-07-06 19:31:42 +03:00
dzaima
08723a3c80 use TI macros everywhere 2021-07-06 19:22:45 +03:00
dzaima
7999683edf skip value checking for builtin loading
perf is reporting an 0.15% increase in instruction count (what?), but that's not gonna stop me
2021-07-03 02:38:09 +03:00
dzaima
c52a042eb4 return Arr* from slices 2021-07-03 01:25:55 +03:00
dzaima
49810ce8bc rename mm_allocN 2021-07-03 00:27:20 +03:00
dzaima
d8b2ac0268 delay tagging 2021-07-03 00:02:56 +03:00
dzaima
f5cc8e17ac fix using runtime with source 2021-06-30 23:23:49 +03:00
dzaima
e5471e8f87 fix reference counts for comp->path 2021-06-30 23:16:08 +03:00
dzaima
b32074f4d1 support nested compilation 2021-06-30 22:54:33 +03:00
dzaima
84f58a2f87 fix refcounts 2021-06-29 22:58:32 +03:00
dzaima
726451ed0c include path in errors 2021-06-29 22:54:37 +03:00
dzaima
a4446716bf compiler errors 2021-06-27 20:28:19 +03:00
dzaima
7e994dd913 modifiable defines 2021-06-06 16:50:18 +03:00
dzaima
2685c598e6 native √ 2021-06-04 02:17:40 +03:00
dzaima
24f61bd5a5 move builtin defs to own file 2021-06-04 02:07:30 +03:00
dzaima
de66696e7a monadic ∨ 2021-06-04 01:57:07 +03:00
dzaima
f1b1686300 •file.List 2021-06-01 22:12:34 +03:00
dzaima
882639c83e use nfns for file functions 2021-06-01 20:41:52 +03:00
dzaima
b4ffc3115a •Exit 2021-06-01 20:32:24 +03:00
dzaima
b47e52db9e preserve array reading through DONT_FREE 2021-06-01 17:52:51 +03:00
dzaima
c35e885ea1 nfns, basic random 2021-06-01 01:45:37 +03:00
dzaima
752a68cb2d static const tagged builtins 2021-05-27 18:08:21 +03:00
dzaima
3b017648d8 extended variables, REPL support 2021-05-27 04:05:17 +03:00
dzaima
7bf3b4be50 store directly needed blocks in bodies 2021-05-26 14:45:29 +03:00
dzaima
55a93d1838 fix -M 2021-05-25 02:20:32 +03:00
dzaima
33b548fbda set max heap size 2021-05-24 19:54:16 +03:00
dzaima
8cfa3e7f55 builtin initialization in load.c 2021-05-24 14:41:10 +03:00
dzaima
6b4c5913ff RT_VERIFY 2021-05-24 01:05:34 +03:00
dzaima
f4ec365a3e extern env & ti 2021-05-24 00:37:43 +03:00
dzaima
39f9060224 extern bi_ 2021-05-24 00:35:38 +03:00
dzaima
17fa05d23a update readme 2021-05-23 22:10:30 +03:00
dzaima
b2b826be9b incremental compilation 2021-05-23 21:55:49 +03:00
dzaima
f26cd2a03b native ⊒arr 2021-05-23 01:04:54 +03:00
dzaima
5db84031f7 2021-05-23 00:28:27 +03:00
dzaima
4fa7e33520 dyadic fast scans, ∨´, sorts and grade 2021-05-22 23:09:32 +03:00
dzaima
c39b06e078 native ⍷vec 2021-05-20 20:34:17 +03:00
dzaima
2d60dd4f1a use formatter for •Show, fix some refcounts 2021-05-20 19:45:47 +03:00
dzaima
e90701af9f native vec∊vec 2021-05-20 19:35:38 +03:00
dzaima
e140f9350b native 𝔽˘𝕩 and > 2021-05-19 21:56:40 +03:00
dzaima
0e650d6038 a tiny bit of a native ⊐ 2021-05-19 19:36:10 +03:00
dzaima
0f001313a7 native ⌽ and F⌾⌽ 2021-05-19 18:48:05 +03:00
dzaima
dd865697ef updated formatter 2021-05-19 15:09:01 +03:00
dzaima
a7a277a6d1 fix native ⌾ under rtperf 2021-05-16 18:36:14 +03:00
dzaima
45207372f6 native ⌾(a⊸/) and ⌾⊑ 2021-05-16 18:16:09 +03:00
dzaima
d046d92390 optional source for precompiled programs 2021-05-16 13:42:58 +03:00
dzaima
c2013e3b5d •args, •FLines, command-line options, •Repr, fix unit∾unit fill 2021-05-15 17:51:17 +03:00
dzaima
721017f6c0 fix path_dir, allow REPL to load relative files 2021-05-15 14:17:19 +03:00
dzaima
87138ee523 •Import, relative paths 2021-05-15 14:03:07 +03:00
dzaima
ca090efd07 execute argument file 2021-05-15 12:39:26 +03:00
dzaima
c5506657c3 native vector ⊔ 2021-05-14 20:08:38 +03:00
dzaima
60d2e2454f native ↑&↓ 2021-05-14 15:39:23 +03:00
dzaima
94bf7ccce0 native ⊑ (without array 𝕨) 2021-05-14 14:06:01 +03:00
dzaima
0a69c1e457 native monadic ↕ 2021-05-13 21:20:10 +03:00
dzaima
d42a6516b7 native 𝕨⍋𝕩 2021-05-10 16:15:34 +03:00
dzaima
2202200a6e stacktraces 2021-05-10 02:44:26 +03:00
dzaima
64e716af6f cross-program namespace access 2021-05-09 18:27:42 +03:00
dzaima
0f844b4e09 •BQN, split runtime/compiler loading out of main 2021-05-09 17:31:31 +03:00