Commit Graph

164 Commits

Author SHA1 Message Date
dzaima
24dba9ba40 fix a bunch of small memory leaks around REPLXX
not that they'd cause any problems in practice - they're very small, and are in the one context where GC can actually run
2022-12-24 16:42:42 +02:00
dzaima
bbc66cbf3f fix display of running multiline code while cursor isn't in last line 2022-12-23 18:06:58 +02:00
dzaima
381ce70212 backslash+enter → literal newline 2022-12-23 18:02:18 +02:00
dzaima
0023e46ab8 config file & light theme 2022-12-02 16:49:49 +02:00
dzaima
c4d0f8bdc4 highlight "." in numbers 2022-11-24 13:08:20 +02:00
dzaima
1b64b4b548 better temporary replxx state handling 2022-11-17 19:18:33 +02:00
dzaima
35abd7f7e8 try $XDG_DATA_HOME before $HOME for REPL history directory 2022-11-17 19:18:33 +02:00
dzaima
ff36205a34 bind ctrl+n & ctrl+p 2022-11-17 19:18:33 +02:00
dzaima
1f5be9e69e backslash input 2022-11-17 19:18:33 +02:00
dzaima
c60bdaba4d highlight 𝔽𝔾𝕎𝕏𝕊 as functions, reduce mut.h to calls.h 2022-11-17 19:18:33 +02:00
dzaima
a48488a132 enable bracketed paste, add sanity check in syntax highlighter 2022-11-17 19:18:33 +02:00
dzaima
07fa4a066b save replxx history more 2022-11-17 19:18:33 +02:00
dzaima
983452b409 system value completion 2022-11-17 19:18:33 +02:00
dzaima
feb7b8b9a0 replxx REPL 2022-11-17 19:18:33 +02:00
dzaima
fc059a77d0 noinline various things in main.c 2022-11-06 02:36:57 +02:00
dzaima
529d2abae4 add warning about miscompilation for x86 on gcc 2022-10-08 14:41:44 +03:00
dzaima
59e947cc20 more consistent type checking & conversion functions 2022-09-07 23:56:03 +03:00
dzaima
e6b4f85662 x->ia → IA(x) / PIA(x) 2022-08-20 08:30:03 +03:00
dzaima
b1300e6e76 yet another string function rename 2022-08-18 09:07:32 +03:00
dzaima
ff0ea7a0ad fix empty program check in REPL 2022-08-14 02:33:48 +03:00
dzaima
fadde40f78 more incG 2022-06-26 23:48:30 +03:00
dzaima
997ced9d2e
Merge pull request #25 from Detegr/explain
support calling explain for an expression
2022-06-26 21:56:32 +03:00
dzaima
266c742b98 fix refcount 2022-06-26 21:54:41 +03:00
dzaima
43b8b5e2a0 )escaped 2022-06-19 21:05:05 +03:00
Antti Keränen
0314f55a78 support calling explain for an expression 2022-06-18 22:09:36 +03:00
dzaima
1fd88c1749 clean up ascii/utf8 functions 2022-06-15 15:31:57 +03:00
dzaima
14b7942556 )clearImportCache 2022-06-05 17:17:20 +03:00
dzaima
e92dce58fb shared library build 2022-06-03 22:04:48 +03:00
dzaima
572bc04459 move interrupt check to its own header 2022-06-03 16:02:02 +03:00
dzaima
7a21f9ef73 experimental REPL interrupting 2022-06-03 15:38:32 +03:00
dzaima
47e4e68eee fix )profile@123 2022-06-03 14:47:43 +03:00
dzaima
e2fda60745 profiler 2022-05-29 22:02:50 +03:00
dzaima
aefeb3c6fd fix emcc build 2022-04-26 19:32:29 +03:00
dzaima
0ec0658ada oh right bqn_exec is a thing 2022-04-08 17:25:31 +03:00
dzaima
ccd00cd4cf use length argument in cbqn_evalSrc 2022-04-07 19:52:35 +03:00
dzaima
e38226895e cbqn_evalSrc 2022-04-07 19:45:43 +03:00
dzaima
7adb06a43d )r 2022-04-07 19:43:49 +03:00
dzaima
e7b551acc2 increase wasi stack size 2022-04-07 02:06:41 +03:00
dzaima
e3e54bea06 extract single REPL input line execution to function 2022-04-06 20:59:33 +03:00
dzaima
0c79b44ae0 output errors to stderr 2022-03-05 02:32:28 +02:00
dzaima
4ecd336595 )mem f 2022-03-04 18:31:54 +02:00
dzaima
5cd19eafe8 vectorized dyadic arith tail element handling 2022-02-27 18:46:35 +02:00
dzaima
de4914991a •term.OutRaw, •term.ErrRaw 2022-02-25 18:20:25 +02:00
dzaima
3fb793526c )erase; try to not oom on printing errors 2022-01-19 01:02:07 +02:00
dzaima
5cde913c78 •CurrentError 2022-01-08 21:55:19 +02:00
dzaima
6672d95ea8 fix c2iW/c2iX, )internalPrint 2022-01-06 03:51:21 +02:00
dzaima
b656c9aa44 #define → typedef 2021-12-30 02:18:25 +02:00
dzaima
d68e278083 move nsTime to its own file 2021-12-29 19:49:16 +02:00
dzaima
bebf1e4255 error location for autogenerated FAIL bodies
and also more )gc things
2021-12-25 18:01:52 +02:00
dzaima
7e89e190f2 )vars 2021-12-19 01:32:36 +02:00