Commit Graph

350 Commits

Author SHA1 Message Date
Allen Webster ee3adcfb60 [examples] input for types example that generates errors 2021-10-09 16:08:24 -07:00
Allen Webster 5a6ad0a770 [examples] more robust array index checker in the type example 2021-10-09 11:59:06 -07:00
Allen Webster 2a6bf65f13 [examples] finish type metadata commentary 2021-10-09 11:44:07 -07:00
Allen Webster c8c5763d0a [examples] progress on type metadata commentary 2021-10-08 23:12:32 -07:00
Allen Webster a5436aec0e [examples] more type metadata commentary; write some usage code for the generated type info 2021-10-08 22:13:45 -07:00
Allen Webster 367b527229 [examples] start type metadata commentary 2021-10-08 21:01:04 -07:00
Allen Webster fb53369f30 [examples] finish commentary in overrides.c 2021-10-08 15:56:16 -07:00
Allen Webster e5e65e4724 [maintenance] cleaning up old code, sticking to 'data desk' name, shrinking name of 'advanced_usages' 2021-10-08 15:34:43 -07:00
Allen Webster feee8cf745 [examples] finish overrides touch ups; tweak overrides example 2021-10-08 15:32:16 -07:00
Allen Webster 204af74b31 [examples] starting notes in overrides example; start cleaning up overrides 2021-10-08 15:25:58 -07:00
Allen Webster 95731945d0 [examples] user errors commentary 2021-10-08 11:56:53 -07:00
Allen Webster 8432125f55 [examples] write examples directory 2021-10-08 11:08:51 -07:00
Allen Webster 0b27e69ec4 welcome comment 2021-10-08 10:11:19 -07:00
Allen Webster 5d51cf478c [examples] write overrides example; tidy up overrides overrview comment; tidy up misc notes files 2021-10-07 22:35:31 -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 0b04757575 [expr parser] sort 'NodeNextWithLimit' with other introspection helpers 2021-10-01 23:13:05 -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 69ce78c71d [expr parser] expose the last of the hidden functions 2021-10-01 22:51:41 -07:00
Allen Webster 891d71005d [expr parser] factor iterators out of the parser context 2021-10-01 22:45: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 b41590525e [expr parser] fuse operator with operator node 2021-10-01 20:42:14 -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 e36e0de276 [example] use type as receipt of work instead of a boolean 2021-10-01 19:21:51 -07:00
Allen Webster a580096708 [examples] do the deduplication todos in types example 2021-10-01 19:07:50 -07:00
Allen Webster cdbf239c34 [examples] implement 'complete' feature for maps 2021-09-26 11:08:30 -07:00
Allen Webster fcb61541a9 [examples] implement default & auto map features 2021-09-26 10:57:28 -07:00
Allen Webster 64b2075038 [examples] fix bug in case iteration 2021-09-26 10:44:46 -07:00
Allen Webster 4a1f9529a0 [examples] generate map functions 2021-09-26 10:39:39 -07:00
Allen Webster 7b830bc584 [example] resolve map's case in value to an enumerant pointer 2021-09-25 21:55:26 -07:00
Allen Webster 1d204361e6 [example] duplicate case checker 2021-09-25 21:45:35 -07:00
Allen Webster b203d0ac67 [examples] check case values when building case lists 2021-09-25 21:35:51 -07:00
Allen Webster 7feed9ea6a [examples] develop the map analyzer 2021-09-25 21:29:42 -07:00
Allen Webster 8ce66a8dff [examples] type info: member name collision checker 2021-09-25 20:43:53 -07:00
Allen Webster e80557cbfd [examples] generate enum types with typedefs when they have underlying basic types 2021-09-25 20:35:36 -07:00
Allen Webster 1ff9a17ef5 [examples] equip enums with underlying basic types 2021-09-25 20:32:04 -07:00
Allen Webster 9aad622357 [examples] type info: basic type sizes; also get rid of redundant parameters 2021-09-25 20:21:08 -07:00
Allen Webster e24e0ea859 [examples] type metadata header 2021-09-25 20:07:40 -07:00
Allen Webster 0f59e3ee2d [examples] pull out each big piece into a function 2021-09-25 20:06:10 -07:00
Allen Webster aed4cf1811 [examples] upgrade type metadata organization 2021-09-25 19:58:33 -07:00
Allen Webster c30f4e4a74 [examples] generating type info definitions 2021-09-25 19:52:36 -07:00
Allen Webster 6db244045d [examples] generate enum member tables 2021-09-25 19:31:42 -07:00
Allen Webster d383a3122f [examples] generate type info declarations; generate member tables 2021-09-25 19:26:06 -07:00