Граф коммитов

276 Коммитов

Автор SHA1 Сообщение Дата
Tom Hvitved 90869ec96a
Merge pull request #17558 from hvitved/rust/cfg-consistency-queries
Rust: Enable CFG consistency checks
2024-09-25 15:14:44 +02:00
Tom Hvitved 79620c1a89 Address review comment 2024-09-25 14:18:44 +02:00
Arthur Baars f57dd0a596
Merge pull request #17552 from github/aibaars/diagnostics
Rust: extract parse errors as diagnostics
2024-09-25 13:15:24 +02:00
Tom Hvitved cbc2389493 Rust: Accept CFG inconsistencies 2024-09-25 10:56:46 +02:00
Tom Hvitved d299380a5a Rust: Enable CFG consistency checks 2024-09-25 10:56:44 +02:00
Tom Hvitved f428fdc57c Rust: Run codegen 2024-09-25 10:55:18 +02:00
Tom Hvitved 8c956e8276 Rust: Add `LogicalOperation.qll` 2024-09-25 10:55:16 +02:00
Tom Hvitved 3bd5c6e445 Rust: Implement `{BinaryExpr,PrefixExpr}.toString()` 2024-09-25 10:55:15 +02:00
Tom Hvitved 1fb9835f23
Merge pull request #17557 from hvitved/rust/cfg-improvements
Rust: CFG improvements
2024-09-25 10:54:49 +02:00
Tom Hvitved 6e493f2baa Address review comments 2024-09-25 09:09:29 +02:00
Arthur Baars 5714811071 Rust: fix panic when the last character in a range is multi-byte 2024-09-24 19:26:02 +02:00
Arthur Baars 1953e4f971 Rust: handle UTF-8 decoding errors 2024-09-24 17:34:33 +02:00
Arthur Baars 37f264df74 Rust: correct line and column numbers in printed error messages 2024-09-24 17:34:32 +02:00
Arthur Baars ca2b8ef6c0 Apply suggestions from code review
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
2024-09-24 17:34:31 +02:00
Arthur Baars 9b8cbdad49 Add QLDoc to Diagnostics.qll 2024-09-24 17:34:30 +02:00
Arthur Baars c596205416 Rust: add some more diagnostics queries 2024-09-24 17:34:29 +02:00
Arthur Baars bdb4d89f9f Rust: add Diagnostics.qll 2024-09-24 17:34:27 +02:00
Arthur Baars b04abc09f0 Rust: extract syntax errors 2024-09-24 17:34:26 +02:00
Arthur Baars d14e77ba48 Address comments 2024-09-24 14:09:23 +02:00
Tom Hvitved 8d8bbd5b12 Rust: Run codegen 2024-09-24 13:25:57 +02:00
Tom Hvitved 5f3663018e Rust: Remove spurious CFG edges in match expressions 2024-09-24 13:09:33 +02:00
Tom Hvitved 3b753da74e Rust: Expose `SuccessorType` and sub classes 2024-09-24 13:09:00 +02:00
Tom Hvitved 6ae03e67e6 Rust: Add case for `ParenExpr` in CFG 2024-09-24 11:20:57 +02:00
Arthur Baars 7b4137fbc8 Rust: generate the extractor 2024-09-20 19:24:55 +02:00
Arthur Baars 45d9d8a25a Address comments 2024-09-20 17:53:27 +02:00
Arthur Baars 69a172c7ba Rust: accept trivial expected output 2024-09-20 15:51:06 +02:00
Arthur Baars db06ad2ac3 Rust: codegen 2024-09-20 15:51:03 +02:00
Arthur Baars 2ee61f9aaa Rust: add placeholder QLdoc annotations 2024-09-20 15:51:02 +02:00
Arthur Baars e6e0e6eb66 Rust: accept expected output 2024-09-20 15:51:01 +02:00
Arthur Baars a9423f4bdb Rust: codegen 2024-09-20 15:50:59 +02:00
Arthur Baars 57458d8f38 Rust: remove qldoc annotations for classes that no longer exist 2024-09-20 15:50:58 +02:00
Arthur Baars 2fdc529ac9 Rust: add qldoc annotations to schema 2024-09-20 15:50:57 +02:00
Arthur Baars b2bddd3415 Rust: write generated schema into schema/ast.py 2024-09-20 15:50:55 +02:00
Geoffrey White d7aa5f1022
Merge pull request #17497 from geoffw0/unusedvar
Rust: Placeholder queries for unused variable, unused value
2024-09-20 12:52:33 +01:00
Arthur Baars 594045b634
Merge pull request #17530 from github/redsun82/codegen-annotate
Codegen: allow full annotation of classes
2024-09-20 10:38:44 +02:00
Paolo Tranquilli cc5882a3c3 Codegen: allow full annotation of classes 2024-09-20 06:55:17 +02:00
Tom Hvitved 16813240ae Shared: Do not use `@kind graph` for CFG test output 2024-09-19 18:13:31 +02:00
Simon Friis Vindum 95c18ce431
Merge pull request #17498 from paldepind/rust-improve-cfg
Rust: Improve CFG
2024-09-19 17:33:30 +02:00
Paolo Tranquilli a5e3fbf367 Codegen/Rust: allow breaking up schema file 2024-09-19 15:57:42 +02:00
Simon Friis Vindum 19697b9a77 Merge branch 'main' into rust-improve-cfg 2024-09-19 15:53:41 +02:00
Simon Friis Vindum db9f5fdf81 Rust: Handle nested if expressions, address review comments 2024-09-19 15:10:37 +02:00
Simon Friis Vindum 2511986324 Rust: Address PR review comments 2024-09-19 14:11:58 +02:00
Arthur Baars 3aa47a3950 Rust: accept test changes 2024-09-19 13:13:18 +02:00
Arthur Baars 1c0f60fa2e Rust: lines of code, exclude 'SourceFile' node 2024-09-19 13:00:52 +02:00
Arthur Baars 24f24855f0 Rust: update expected output 2024-09-19 13:00:51 +02:00
Arthur Baars e19bca0de8 Rust: remove queries that no longer work 2024-09-19 13:00:50 +02:00
Arthur Baars c3b10bf90b Rust: patch cfg implementation 2024-09-19 13:00:49 +02:00
Arthur Baars 80d32a2333 Rust: re-generate code 2024-09-19 13:00:46 +02:00
Arthur Baars 9104c3fc81 Rust: re-generate schema and extractor 2024-09-19 13:00:45 +02:00
Arthur Baars 1f30d5f41b Rust: generate schema.py and extractor from ungrammar 2024-09-19 13:00:05 +02:00