diff --git a/README.md b/README.md index a3a35b8..52c55ff 100644 --- a/README.md +++ b/README.md @@ -116,13 +116,14 @@ We will try to maintain the following headline format for commit messages: where `` is one of: 1. `grammar`: For the tree-sitter-based grammar. -2. `compiler`: For the Swift-based P4 compiler of tree-sitter-based-parser parsed programs into AST. -3. `runtime`: For the Swift-based P4 interpreter. -4. `common`: For any Swift-based components common to the entire project (and macros). -5. `documentation`: For any documentation updates. -6. `testing`: For Swift-based tests. -7. `cli`: For Cli components. -7. `codegen`: For code generation components. +1. `compiler`: For the Swift-based P4 compiler of tree-sitter-based-parser parsed programs into AST. +1. `language`: For the Swift-based AST of a compiled P4 program. +1. `runtime`: For the Swift-based P4 interpreter. +1. `common`: For any Swift-based components common to the entire project (and macros). +1. `documentation`: For any documentation updates. +1. `testing`: For Swift-based tests. +1. `cli`: For Cli components. +1. `codegen`: For code generation components. where `` can be more free-form and `` is a pithy description of the changes in the commit. diff --git a/Sources/P4Lang/Types.swift b/Sources/P4Lang/Types.swift deleted file mode 100644 index 82abce3..0000000 --- a/Sources/P4Lang/Types.swift +++ /dev/null @@ -1,28 +0,0 @@ -// p4rse, Copyright 2026, Will Hawkins -// -// This file is part of p4rse. -// -// This file is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . - -import Common - -public struct AttributedP4Type { - public let type: P4Type - public let attributes: P4QualifiedType - - public init(_ type: P4Type, _ attributes: P4QualifiedType) { - self.type = type - self.attributes = attributes - } -}