josh11b and Jon Ross-Perkins
fada410559
Support declaration modifier keywords ( #3412 )
...
Co-authored-by: Jon Ross-Perkins <jperkins@google.com >
2023-12-05 22:45:57 +00:00
Richard Smith
332a368cee
Rename Parse::Node -> Parse::NodeId. ( #3432 )
...
As discussed [on
discord](https://discord.com/channels/655572317891461132/655578254970716160/1178878128714678282 )
and today's toolchain discussion.
2023-11-29 18:53:12 +00:00
josh11b
11ca083855
Use abbreviation "expr" instead of "expression" ( #3375 )
...
Part of switching to the [abbreviations we've decided to
use](https://docs.google.com/document/d/1RRYMm42osyqhI2LyjrjockYCutQ5dOf8Abu50kTrkX0/edit?resourcekey=0-kHyqOESbOHmzZphUbtLrTw#heading=h.pph7i5m5un7q ).
I will rename files in a follow-up PR.
2023-11-10 01:32:32 +00:00
josh11b and Chandler Carruth
7edfd8e02a
Rename SemIR::Node to SemIR::Inst ( #3355 )
...
And generally replace "node" by "inst" in the code and "instruction" in
comments.
---------
Co-authored-by: Chandler Carruth <chandlerc@gmail.com >
2023-11-02 17:58:30 +00:00
Richard Smith
a46e7dd967
Remove most of the metaprogramming in node.h in favor of listing all the members in the typed node structs. ( #3310 )
...
Split `node.h` into separate files for ID types (`id.h`) and for typed
nodes (`typed_nodes.h`). The per-node-kind data is now specified as part
of declaring the typed nodes, and is removed from the node kinds
x-macros, which now simply enumerate the node kinds.
2023-10-20 20:26:10 +00:00
Richard Smith
6e9d83e746
Support for while statements. ( #3258 )
...
Basic support for type-checking and lowering of `while` statements, as
well as `break` and `continue`.
2023-10-11 19:20:46 +00:00
Jon Ross-Perkins
1c748c0f14
Split semantics into check and sem_ir directories ( #3176 )
...
Continuing along with #3070 . Note this is just a file rename, with BUILD
edits; every file previously in semantics/ should show as moved (except
maybe BUILDs, which split).
2023-08-31 19:54:32 +00:00