ed
716f8a7f3f
coallpsed arena -> allocatorinfo : command_line.h/c
2025-02-09 12:07:44 -05:00
ed
c8cb9f3995
prepping to collapse Arena receiving functions to those that receive AllocatorInfo
...
perf impact of the indirection should be minimal, reduces code duplication.
Ideally we'd use gencpp to just have the user specify what they want, then modify which proc is avail by doing the refactors required for using either
However, it can't process execution bodies yet or expressions so thats not possible.
The other way is to just utilize _Generic to generalize the codepath so that it collapses neater but that leads to a ton of implementation getting lifted to preprocessing... so no.
2025-02-09 11:51:50 -05:00
ed
0485058938
got past init
2025-02-09 05:40:04 -05:00
ed
d867a8b0c0
setup os_init() for manually starting up os_context
2025-02-09 02:20:36 -05:00
ed
d82af845bc
forgot about stb_sprintf.h...
2025-02-08 23:53:35 -05:00
ed
50c7853b9f
its compiling... (prepping for runtime testing)
2025-02-08 23:27:06 -05:00
ed
68fadce5c6
starting to review mdesk.h/c
2025-02-08 11:10:23 -05:00
ryanfleury
95ea556f34
Merge branch 'master' into dev
2022-02-17 14:19:24 -07:00
ryanfleury
ecfe3314b6
robustify against /W4 on MSVC
2022-02-17 14:14:50 -07:00
Ryan Fleury
7f12b05741
sanity test for unscoped set newline-allowance (after first child) bug (?)
2021-12-29 09:09:34 -07:00
Mārtiņš Možeiko
08bfd28169
macOS support
2021-11-14 18:17:37 -08:00
Allen Webster
8d4d2d2c3a
naming pass; stub in expression API docs
2021-10-24 13:02:13 -07:00
Miguel Lechon
47613b5563
[expr parser] Communicate expression operator table bake errors through callback.
2021-10-24 17:11:28 +02:00
Allen Webster
126fab22df
[examples] c like expressions example
2021-10-09 22:07:52 -07:00
Allen Webster
ac9f415180
[examples] write expressions intro example
2021-10-09 20:58:33 -07:00
Allen Webster
39e10cd246
[expression parser] use the operator pointer right inside the expression node
2021-10-09 20:30:05 -07:00
Miguel Lechon
343b239fa1
[expr parser] Reject multitoken and non-symbol, non-id token operators (note 3).
2021-10-06 08:02:46 +02:00
Miguel Lechon
88bf5be37c
[expr parser] Postfix (),[],{},[),(] behave the same (note 2).
2021-10-04 20:18:46 +02:00
Miguel Lechon
94cd3ced02
[expr parser] Disallow non-postfix set-like operators (note 1b).
2021-10-04 07:57:45 +02:00
Miguel Lechon
d1745050dd
[expr parser] Treat all sets as leaves (note 1a).
2021-10-03 18:38:13 +02:00
Allen Webster
1372db5610
[expr parser] a few misc bits of tidying - poking around for next steps - notes on issues
2021-10-02 20:04:00 -07:00
Allen Webster
f635b2d066
[expr parser] fix error reporting for unfinished expression inside paren/bracket
2021-10-01 23:38:36 -07:00
Allen Webster
2f6ada618a
[expr parsing] handle the 'errors' monad through the parse context instead of through return composition
2021-10-01 23:11:05 -07:00
Allen Webster
ed377ebd33
[expr parsing] rename MD_ExprNode -> MD_Expr
2021-10-01 22:52:45 -07:00
Allen Webster
04e65af953
[expr parser] rearrange expression errors to point right at the original metadesk nodes as much as possible
2021-10-01 22:08:40 -07:00
Allen Webster
8cbd0cc2dc
[expr parser] fix test fails; refactoring error reporting
2021-10-01 21:03:33 -07:00
Allen Webster
9ac946cf07
[expr parser] change the operator definition so that an MD_Node is not required
2021-10-01 20:31:06 -07:00
Allen Webster
4ce22d786c
[expr parser] getting familiar with the expression parser
2021-10-01 20:03:50 -07:00
Allen Webster
70e630cab6
more styl consistency
2021-09-25 17:01:24 -07:00
Allen Webster
0a07520fac
reserve-commit-chain arenas
2021-09-17 18:07:38 -07:00
Allen Webster
cbd755852d
Merge branch 'dev' of https://github.com/Dion-Systems/metadesk into dev
2021-09-17 00:48:13 -07:00
Allen Webster
b6cbff2eb1
tidying up naming scheme and parameters in helper inspection API; [examples] sketch of type metadata example
2021-09-17 00:48:06 -07:00
Ryan Fleury
1b31e6f41d
work/tests for reconstruction string'
2021-09-17 01:06:57 -06:00
Allen Webster
883c384e38
[examples] hello_world.c first pass; parse check touch ups; API touch ups
2021-09-16 20:06:20 -07:00
Allen Webster
e5c9b49c83
[examples] write labels.mdesk with examples of labels
2021-09-13 18:09:38 -07:00
Allen Webster
feafba93f3
tidy up the reference macro, rename dereference function; [examples] tidy up the commentary about for loop macros
2021-09-13 17:21:12 -07:00
Miguel Lechon
b83546a60a
[expr parser] More tests.
2021-09-12 19:55:14 +02:00
Allen Webster
6dd7acb1a2
iterating on debug dump and reconstruction API details
2021-09-10 14:46:41 -07:00
Miguel Lechon
b2c901d60f
[expr parser] Brace/bracket unary op required for set leaves.
2021-09-09 12:48:04 +02:00
Miguel Lechon
c0a50bfe27
Discard and warn against conflicting expression operators.
2021-09-09 12:21:03 +02:00
Miguel Lechon
c6c790e50d
expression parser; first pass.
2021-09-07 18:16:57 +02:00
Allen Webster
eef0ff2577
better lexer testing in sanity_tests
2021-09-02 19:49:09 -07:00
Allen Webster
213c20fd93
update lexer to new symbol parsing rule
2021-09-02 19:34:28 -07:00
Allen Webster
a2766a2e0c
clean up old samples; mark md_c_helpers with an error; remove c helper tests
2021-09-01 19:01:27 -07:00
Allen Webster
4452663046
make print helpers optional
2021-08-27 14:55:32 -07:00
Allen Webster
500c310bcc
setup new build script
2021-08-20 23:45:00 -07:00
ryanfleury
d213f0362f
string generation feature options + implementations + tests
2021-08-18 01:46:55 -06:00
Allen Webster
4ab0adf9cc
overridable scratch; remove the tedious explicit thread init
2021-08-13 11:19:03 -07:00
Allen Webster
fcda88e1cd
reduce arena overrides; tidy up organization of default control macros; eliminate arena casts by directly relying on MD_IMPL_Arena in header
2021-08-13 10:03:28 -07:00
Allen Webster
37484ea0a6
thread context scratch system; converge on transition idiom in sample code
2021-07-21 16:03:39 -07:00