; C Library
;
; Copyright (C) 2025 Kestrel Institute (http://www.kestrel.edu)
;
; License: A 3-clause BSD license. See the LICENSE file distributed with ACL2.
;
; Author: Alessandro Coglio (www.alessandrocoglio.info)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(in-package "ACL2")

(include-book "centaur/fty/portcullis" :dir :system)
(include-book "kestrel/c/portcullis" :dir :system)
(include-book "kestrel/c/syntax/portcullis" :dir :system)
(include-book "std/omaps/portcullis" :dir :system)
(include-book "oslib/portcullis" :dir :system)
(include-book "std/portcullis" :dir :system)

(include-book "../syntax/abstract-syntax-symbols")

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(defpkg "C2C" (append
               (set-difference-eq *std-pkg-symbols*
                                  '(block))
               c$::*abstract-syntax-symbols*
               '(bool
                 constant-symbolp
                 constant-value
                 defirrelevant
                 defund-sk
                 defxdoc+
                 enable*
                 er-soft+
                 erp
                 impossible
                 index-of
                 packn-pos
                 maybe-msgp
                 maybe-pseudo-event-formp
                 msg$
                 pseudo-event-formp
                 pseudo-event-form-list
                 pseudo-event-form-listp
                 pos
                 pos-fix
                 reterr
                 retmsg$
                 retok
                 symbol-list
                 std::defret-mutual)))
