592 Commits

Author SHA1 Message Date
dc95fe041d Add node_id() to C++ and D tree node handles 2026-09-02 21:00:47 -04:00
e5bb6db4a4 v5.0.0 v5.0.0 2026-08-21 16:29:16 -04:00
47b39ba70f Update UPGRADING.md for v5.0.0 2026-08-21 16:00:25 -04:00
e9c1be83cb Make tree node handle names visible in context user fields 2026-08-21 15:57:51 -04:00
2508fb311e Update CHANGELOG.md for v5.0.0 2026-08-21 14:59:28 -04:00
3879344e6e Set up stable Rust toolchain in github workflow 2026-08-21 14:36:37 -04:00
450c2f1cff Rust: add Drop impl for p_context_t 2026-08-21 13:36:36 -04:00
5afb3599f9 Rust target: derive Debug for p_position_t 2026-08-20 17:17:50 -04:00
ac7ac9b9a6 Add v5.0.0 Improvements to CHANGELOG.md 2026-08-20 16:57:16 -04:00
e5ad5354fd propane.vim: improve D language detection 2026-08-20 16:55:49 -04:00
6ab4340abc Add Rust detection to propane.vim 2026-08-20 16:25:57 -04:00
7fd1505710 Add comments around user code blocks to generated Rust module
This takes the place of #line directives
2026-08-20 15:52:18 -04:00
3626bc2caf Remove unused_variables allow directive from Rust template 2026-08-20 14:40:07 -04:00
3122254907 Remove unused_parens allow directive from Rust template 2026-08-20 13:47:18 -04:00
f1d8ad7fe9 Remove dead_code allow directive from Rust template 2026-08-20 13:34:43 -04:00
075b178497 Test free_token_node in Rust 2026-08-20 12:50:27 -04:00
7a8b4ad640 Remove some Rust module allow directives 2026-08-20 12:20:55 -04:00
cf27fefc7b Fail specs on any compiler warnings in addition to errors 2026-08-20 11:12:58 -04:00
d466a4b024 Document tree node validity propagation in user guide 2026-08-20 00:36:43 -04:00
008ed49f66 Remove match_length lexer user code block for Rust 2026-08-19 23:49:29 -04:00
d596d47cef Rename match to match_text for lexer user code blocks 2026-08-19 23:30:27 -04:00
47ad55ee2c Update user guide to reflect tree node structure changes 2026-08-19 23:04:14 -04:00
e22ebc87d3 Update user guide with Rust documentation and examples 2026-08-19 21:20:19 -04:00
71abdcb3ac Align Rust template with D template 2026-08-19 13:39:34 -04:00
4a4647159e Improve rake tasks for specs
- clean coverage directory before running specs to avoid simplecov
  slowdowns
- add valgrind task to run valgrind; normal spec does not run it
- delay combining and reporting simplecov results until end of task to
  speed up task execution
2026-08-19 13:14:53 -04:00
8c92d442bb Align Rust template with D template 2026-08-19 00:35:02 -04:00
f2924a267d Align Rust template with D template 2026-08-18 22:36:15 -04:00
7d42ef44c2 Align Rust template with D template 2026-08-18 21:33:13 -04:00
e06cf11e9e Align Rust template with D template 2026-08-18 20:58:39 -04:00
4c5a30b13c Align types in Rust template with D template 2026-08-18 20:42:38 -04:00
8437cc3b4e Use pretty language names in spec output 2026-08-14 23:46:01 -04:00
35c40f09fe Remove header user code block group for Rust section 2026-08-14 23:39:02 -04:00
f902c835c9 Fix Rust prefixed status code values 2026-08-11 23:48:07 -04:00
bceaad5b7e Move rust_tree_types contents into template 2026-08-11 23:46:48 -04:00
89f1f84857 Add Rust target 2026-08-11 22:46:04 -04:00
5fc712c6ee Rework tree generation mode and API
Store tree nodes in congruent, compact arena array.
Define handle types to refer to tree nodes rather than pointers to
structure instances.
Free tree with context.
2026-07-27 20:57:44 -04:00
dddb1b5089 v4.8.1 v4.8.1 2026-07-14 22:20:56 -04:00
c3bccd2151 Fix tree struct type forward-declarations for C/C++ 2026-07-14 22:11:39 -04:00
52fb46abfa v4.8.0 v4.8.0 2026-07-14 20:51:06 -04:00
2e02ed7391 Fix test_macros.c on MacOS 2026-07-14 20:51:00 -04:00
1c74e747e1 Add p_set_input_index() 2026-07-14 20:43:59 -04:00
b4d43d39f6 Add lex_fn documentation about custom lex function contract 2026-07-14 17:01:22 -04:00
7ce1f8fc7f Test reentering parser for nested inner parses 2026-07-14 11:41:52 -04:00
0aaa44faf4 Add a test for a macro implementation using custom lex function 2026-07-13 22:21:02 -04:00
2ebdeaa995 Add p_input_index() 2026-07-11 22:58:26 -04:00
c0016f6d58 Add p_set_position() 2026-07-11 22:46:21 -04:00
fb4288d5b9 Test p_parse_inner with tree generation mode active 2026-07-11 22:46:21 -04:00
2f9a29f7c5 p_parse_inner: do not consume the follow token 2026-07-11 22:46:21 -04:00
946eb4eef7 Add p_parse_inner_XXX() APIs 2026-07-11 20:08:56 -04:00
75c2a4cbdf Install valgrind for Linux github runners 2026-07-08 22:09:53 -04:00