Skip to content

Commit

Permalink
Merge pull request #28 from hansjoergschurr/devel/license
Browse files Browse the repository at this point in the history
This indicates the license simmilar to the cvc5 project. The COPYING file is the BSD license, the AUTHORS file is simmilar to the cvc5 file, but simplified. It mentions the cvc5 repository, because of the parsing code from there. The Header is the cvc5 header without top contributors.
  • Loading branch information
ajreynol authored Jan 25, 2024
2 parents bf9fc04 + 768847f commit 53ec3f6
Show file tree
Hide file tree
Showing 49 changed files with 384 additions and 10 deletions.
13 changes: 13 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
The authors, designers, and main contributors to alfc are listed below.
alfc's copyright is held by these individuals and the affiliated
institutions at the time of their contributions (note that some authors have
had more than one affiliated institution). See the file COPYING for details on
the copyright and licensing of alfc.

The developers and authors of alfc are:
Andrew Reynolds, The University of Iowa, Amazon Web Services
Hans-Jörg Schurr, The University of Iowa

The alfc codebase contains some source code from the cvc5 project.
The copyright of these files is held by the cvc5 authors. See the
cvc5 repository at https://github.com/cvc5/cvc5 for details.
29 changes: 29 additions & 0 deletions COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
alfc is copyright (C) 2023-2024 by its authors and contributors (see
the file AUTHORS) and their institutional affiliations.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT OWNERS AND CONTRIBUTORS
''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
8 changes: 8 additions & 0 deletions src/attr.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "attr.h"

namespace alfc {
Expand Down
8 changes: 8 additions & 0 deletions src/attr.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef ATTR_H
#define ATTR_H

Expand Down
2 changes: 1 addition & 1 deletion src/base/check.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
* ****************************************************************************
******************************************************************************
*
* Assertion utility classes, functions and macros.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/base/check.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
* ****************************************************************************
******************************************************************************
*
* Assertion utility classes, functions and macros.
*
Expand Down
2 changes: 1 addition & 1 deletion src/base/output.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
* ****************************************************************************
******************************************************************************
*
* Output utility classes and functions.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/base/output.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
* ****************************************************************************
******************************************************************************
*
* Output utility classes and functions.
*/
Expand Down
9 changes: 8 additions & 1 deletion src/base/run.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "base/run.h"

#include <fcntl.h>
Expand Down Expand Up @@ -106,4 +114,3 @@ int runFile(const std::string& call, std::ostream& response)
}

} // namespace alfc

8 changes: 8 additions & 0 deletions src/base/run.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef RUN_H
#define RUN_H

Expand Down
2 changes: 1 addition & 1 deletion src/cmd_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
* ****************************************************************************
******************************************************************************
*
* The smt2 command parser.
*/
Expand Down
8 changes: 8 additions & 0 deletions src/cmd_parser.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef CMD_PARSER_H
#define CMD_PARSER_H

Expand Down
8 changes: 8 additions & 0 deletions src/compiled.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "type_checker.h"
#include "state.h"

Expand Down
8 changes: 8 additions & 0 deletions src/compiler.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef COMPILER_H
#define COMPILER_H

Expand Down
9 changes: 8 additions & 1 deletion src/expr.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "expr.h"

#include <iostream>
Expand Down Expand Up @@ -513,4 +521,3 @@ std::ostream& operator<<(std::ostream& out, const std::vector<ExprValue*>& es)
}

} // namespace alfc

8 changes: 8 additions & 0 deletions src/expr.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef EXPR_H
#define EXPR_H

Expand Down
8 changes: 8 additions & 0 deletions src/expr_info.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef EXPR_INFO_H
#define EXPR_INFO_H

Expand Down
8 changes: 8 additions & 0 deletions src/expr_parser.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "expr_parser.h"

#include <string.h>
Expand Down
8 changes: 8 additions & 0 deletions src/expr_parser.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef EXPR_PARSER_H
#define EXPR_PARSER_H

Expand Down
8 changes: 8 additions & 0 deletions src/expr_trie.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef EXPR_TRIE_H
#define EXPR_TRIE_H

Expand Down
8 changes: 8 additions & 0 deletions src/input.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "input.h"

#include <fstream>
Expand Down
8 changes: 8 additions & 0 deletions src/input.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef INPUT_H
#define INPUT_H

Expand Down
8 changes: 8 additions & 0 deletions src/kind.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "kind.h"

#include <iostream>
Expand Down
8 changes: 8 additions & 0 deletions src/kind.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef KIND_H
#define KIND_H

Expand Down
8 changes: 8 additions & 0 deletions src/lexer.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "lexer.h"

#include <cassert>
Expand Down
8 changes: 8 additions & 0 deletions src/lexer.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef LEXER_H
#define LEXER_H

Expand Down
9 changes: 8 additions & 1 deletion src/literal.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "literal.h"

#include "base/check.h"
Expand Down Expand Up @@ -452,4 +460,3 @@ Literal Literal::evaluate(Kind k, const std::vector<const Literal*>& args)
}

} // namespace alfc

8 changes: 8 additions & 0 deletions src/literal.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef LITERAL_H
#define LITERAL_H

Expand Down
10 changes: 9 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
#include <unistd.h>
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/

#include <unistd.h>
#include <fstream>
#include <iomanip>
#include <iostream>
Expand Down
8 changes: 8 additions & 0 deletions src/parser.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#include "parser.h"

namespace alfc {
Expand Down
8 changes: 8 additions & 0 deletions src/parser.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
/******************************************************************************
* This file is part of the alfc project.
*
* Copyright (c) 2023-2024 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
******************************************************************************/
#ifndef PARSER_H
#define PARSER_H

Expand Down
Loading

0 comments on commit 53ec3f6

Please sign in to comment.