-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17536dd
commit 7da67f5
Showing
16 changed files
with
63 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
================================== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 } | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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', ' ']! | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/. |