Skip to content

Commit

Permalink
Tweak license text
Browse files Browse the repository at this point in the history
  • Loading branch information
zakuro9715 committed Apr 8, 2024
1 parent 17536dd commit 7da67f5
Show file tree
Hide file tree
Showing 16 changed files with 63 additions and 16 deletions.
4 changes: 3 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Copyright (c) 2021-2023 The Kaico Authors.
SPDX-License-Identifier: MPL-2.0

Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)

Mozilla Public License Version 2.0
==================================
Expand Down
5 changes: 4 additions & 1 deletion cmd/cmd_kaico/main.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
module main

import os
Expand Down
5 changes: 4 additions & 1 deletion kaico/builder/builder.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
module builder

import kaico.source as _ { Source }
Expand Down
5 changes: 4 additions & 1 deletion kaico/kaico.v
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
module kaico
5 changes: 4 additions & 1 deletion kaico/source/pos.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
module source

// Pos represents a position in a `Source`.
Expand Down
5 changes: 4 additions & 1 deletion kaico/source/pos_test.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
import kaico.source as _ { Range, Source }

fn test_op() {
Expand Down
5 changes: 4 additions & 1 deletion kaico/source/range.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
module source

// Range represents a range in a `Source`.
Expand Down
5 changes: 4 additions & 1 deletion kaico/source/range_test.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
import kaico.source { Range, Source }

const s = Source.from_text('abcdef')
Expand Down
5 changes: 4 additions & 1 deletion kaico/source/source.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
module source

import os
Expand Down
5 changes: 4 additions & 1 deletion kaico/source/source_test.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
import os
import kaico.source { Source }

Expand Down
5 changes: 4 additions & 1 deletion kaico/text/chars.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
module text

pub const whitespaces = [' ', '\t', '\n', '\r', ' ']!
Expand Down
5 changes: 4 additions & 1 deletion kaico/text/chars_test.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
import kaico.text { Char, Chars }

fn test_chars() {
Expand Down
5 changes: 4 additions & 1 deletion kaico/token/token.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
module token

import kaico.source { Range }
Expand Down
5 changes: 4 additions & 1 deletion kaico/token/token_test.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
import kaico.token as _ {
Bool,
Int,
Expand Down
5 changes: 4 additions & 1 deletion kaico/utils/panic.v
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
module utils

@[noreturn]
Expand Down
5 changes: 4 additions & 1 deletion snippets/license.vv
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// Copyright (c) 2021-2023 The Kaico Authors.
// SPDX-License-Identifier: MPL-2.0
//
// Copyright 2021-2024 zakuro <[email protected]> (https://x.com/zakuro9715)
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

0 comments on commit 7da67f5

Please sign in to comment.