Add BSD-3 license
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
|
load("@hedron_compile_commands//:refresh_compile_commands.bzl", "refresh_compile_commands")
|
||||||
|
|
||||||
refresh_compile_commands(
|
refresh_compile_commands(
|
||||||
|
34
LICENSE.txt
Normal file
34
LICENSE.txt
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
Copyright (c) 2025 Steven Le Rouzic
|
||||||
|
|
||||||
|
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 HOLDERS 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 HOLDER 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.
|
||||||
|
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
module(name = "asl")
|
module(name = "asl")
|
||||||
|
|
||||||
bazel_dep(name = "platforms", version = "0.0.10")
|
bazel_dep(name = "platforms", version = "0.0.10")
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "base",
|
name = "base",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/config.hpp"
|
#include "asl/base/config.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/base/assert.hpp"
|
#include "asl/base/assert.hpp"
|
||||||
|
|
||||||
static asl::AssertFailureHandler* s_handler = nullptr;
|
static asl::AssertFailureHandler* s_handler = nullptr;
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/config.hpp"
|
#include "asl/base/config.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/utility.hpp"
|
#include "asl/base/utility.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/base/defer.hpp"
|
#include "asl/base/defer.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/base/float.hpp"
|
#include "asl/base/float.hpp"
|
||||||
|
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/base/functional.hpp"
|
#include "asl/base/functional.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/config.hpp"
|
#include "asl/base/config.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/base/integers.hpp"
|
#include "asl/base/integers.hpp"
|
||||||
|
|
||||||
static_assert(sizeof(int8_t) == 1);
|
static_assert(sizeof(int8_t) == 1);
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/integers.hpp"
|
#include "asl/base/integers.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
#include "asl/tests/types.hpp"
|
#include "asl/tests/types.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/base/utility.hpp"
|
#include "asl/base/utility.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "buffer",
|
name = "buffer",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/containers/buffer.hpp"
|
#include "asl/containers/buffer.hpp"
|
||||||
|
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/utility.hpp"
|
#include "asl/base/utility.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
#include "asl/containers/hash_map.hpp"
|
#include "asl/containers/hash_map.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/annotations.hpp"
|
#include "asl/base/annotations.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/containers/hash_set.hpp"
|
#include "asl/containers/hash_set.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
#include "asl/tests/types.hpp"
|
#include "asl/tests/types.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/containers/intrusive_list.hpp"
|
#include "asl/containers/intrusive_list.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "formatting",
|
name = "formatting",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/formatting/format.hpp"
|
#include "asl/formatting/format.hpp"
|
||||||
#include "asl/base/utility.hpp"
|
#include "asl/base/utility.hpp"
|
||||||
#include "asl/base/assert.hpp"
|
#include "asl/base/assert.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/integers.hpp"
|
#include "asl/base/integers.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/formatting/format.hpp"
|
#include "asl/formatting/format.hpp"
|
||||||
#include "asl/base/float.hpp"
|
#include "asl/base/float.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/formatting/format.hpp"
|
#include "asl/formatting/format.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
#include "asl/base/float.hpp"
|
#include "asl/base/float.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "hashing",
|
name = "hashing",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/integers.hpp"
|
#include "asl/base/integers.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
#include "asl/hashing/hash.hpp"
|
#include "asl/hashing/hash.hpp"
|
||||||
#include "asl/strings/string_view.hpp"
|
#include "asl/strings/string_view.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "writer",
|
name = "writer",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/io/print.hpp"
|
#include "asl/io/print.hpp"
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/formatting/format.hpp"
|
#include "asl/formatting/format.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/integers.hpp"
|
#include "asl/base/integers.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "logging",
|
name = "logging",
|
||||||
srcs = [
|
srcs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/logging/logging.hpp"
|
#include "asl/logging/logging.hpp"
|
||||||
#include "asl/io/print.hpp"
|
#include "asl/io/print.hpp"
|
||||||
#include "asl/strings/string_builder.hpp"
|
#include "asl/strings/string_builder.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/utility.hpp"
|
#include "asl/base/utility.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/logging/logging.hpp"
|
#include "asl/logging/logging.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
#include "asl/strings/string_builder.hpp"
|
#include "asl/strings/string_builder.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "memory",
|
name = "memory",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/memory/allocator.hpp"
|
#include "asl/memory/allocator.hpp"
|
||||||
#include "asl/base/assert.hpp"
|
#include "asl/base/assert.hpp"
|
||||||
#include "asl/memory/layout.hpp"
|
#include "asl/memory/layout.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/integers.hpp"
|
#include "asl/base/integers.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/integers.hpp"
|
#include "asl/base/integers.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "string_view",
|
name = "string_view",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/containers/buffer.hpp"
|
#include "asl/containers/buffer.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/containers/buffer.hpp"
|
#include "asl/containers/buffer.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/strings/string_builder.hpp"
|
#include "asl/strings/string_builder.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/strings/string.hpp"
|
#include "asl/strings/string.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
#include "asl/formatting/format.hpp"
|
#include "asl/formatting/format.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/integers.hpp"
|
#include "asl/base/integers.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/strings/string_view.hpp"
|
#include "asl/strings/string_view.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "atomic",
|
name = "atomic",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "testing",
|
name = "testing",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
|
||||||
#include "asl/io/print.hpp"
|
#include "asl/io/print.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/utility.hpp"
|
#include "asl/base/utility.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "utils",
|
name = "utils",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/utility.hpp"
|
#include "asl/base/utility.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "box",
|
name = "box",
|
||||||
hdrs = [
|
hdrs = [
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/assert.hpp"
|
#include "asl/base/assert.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/types/box.hpp"
|
#include "asl/types/box.hpp"
|
||||||
#include "asl/types/option.hpp"
|
#include "asl/types/option.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/types/maybe_uninit.hpp"
|
#include "asl/types/maybe_uninit.hpp"
|
||||||
#include "asl/tests/types.hpp"
|
#include "asl/tests/types.hpp"
|
||||||
|
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/assert.hpp"
|
#include "asl/base/assert.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/types/option.hpp"
|
#include "asl/types/option.hpp"
|
||||||
#include "asl/tests/types.hpp"
|
#include "asl/tests/types.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/meta.hpp"
|
#include "asl/base/meta.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/types/span.hpp"
|
#include "asl/types/span.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
#include "asl/tests/types.hpp"
|
#include "asl/tests/types.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/types/status.hpp"
|
#include "asl/types/status.hpp"
|
||||||
#include "asl/memory/allocator.hpp"
|
#include "asl/memory/allocator.hpp"
|
||||||
#include "asl/strings/string.hpp"
|
#include "asl/strings/string.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/base/integers.hpp"
|
#include "asl/base/integers.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "asl/types/status.hpp"
|
#include "asl/types/status.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/types/status_or.hpp"
|
#include "asl/types/status_or.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
#include "asl/tests/types.hpp"
|
#include "asl/tests/types.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
// Copyright 2025 Steven Le Rouzic
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
#include "asl/types/status.hpp"
|
#include "asl/types/status.hpp"
|
||||||
#include "asl/testing/testing.hpp"
|
#include "asl/testing/testing.hpp"
|
||||||
#include "asl/formatting/format.hpp"
|
#include "asl/formatting/format.hpp"
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
load("@rules_python//python:py_binary.bzl", "py_binary")
|
load("@rules_python//python:py_binary.bzl", "py_binary")
|
||||||
|
|
||||||
py_binary(
|
py_binary(
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import glob
|
import glob
|
||||||
|
38
vendor/cityhash/LICENSE.txt
vendored
38
vendor/cityhash/LICENSE.txt
vendored
@ -1,19 +1,19 @@
|
|||||||
// Copyright (c) 2011 Google, Inc.
|
Copyright (c) 2011 Google, Inc.
|
||||||
//
|
|
||||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
// of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
// in the Software without restriction, including without limitation the rights
|
in the Software without restriction, including without limitation the rights
|
||||||
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
// copies of the Software, and to permit persons to whom the Software is
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
// furnished to do so, subject to the following conditions:
|
furnished to do so, subject to the following conditions:
|
||||||
//
|
|
||||||
// The above copyright notice and this permission notice shall be included in
|
The above copyright notice and this permission notice shall be included in
|
||||||
// all copies or substantial portions of the Software.
|
all copies or substantial portions of the Software.
|
||||||
//
|
|
||||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
// THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
|
4
vendor/dragonbox/BUILD.bazel
vendored
4
vendor/dragonbox/BUILD.bazel
vendored
@ -1,3 +1,7 @@
|
|||||||
|
# Copyright 2025 Steven Le Rouzic
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "dragonbox",
|
name = "dragonbox",
|
||||||
hdrs = ["dragonbox.h"],
|
hdrs = ["dragonbox.h"],
|
||||||
|
Reference in New Issue
Block a user