Skip to content

Commit 597f0da

Browse files
committed
Complete code reorganisation
1 parent dc8e76b commit 597f0da

File tree

644 files changed

+441
-455
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

644 files changed

+441
-455
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
[workspace]
22
resolver = "2"
33
members = [
4-
"core",
4+
"lang/v0/core",
55
"lang/v0/ast",
66
"lang/v0/parser",
77
"lang/v0/macro",
88
"lang/v1/ast",
99
"lang/v1/parser",
10-
"extension"
10+
"genlex"
1111
]
1212

1313
[profile.release]

README.md

Lines changed: 48 additions & 0 deletions

extension/src/lib.rs

Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ authors = ["d-plaindoux <[email protected]>"]
55
edition = "2021"
66

77
[dependencies]
8-
celma_core = { version = "0.1.0", path = "../core" }
9-
celma_lang_v0_macro = { version = "0.1.0", path = "../lang/v0/macro" }
8+
celma_v0_core = { version = "0.1.0", path = "../lang/v0/core" }
9+
celma_v0_macro = { version = "0.1.0", path = "../lang/v0/macro" }
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
/*
2-
Copyright 2019-2025 Didier Plaindoux
3-
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
8-
http://www.apache.org/licenses/LICENSE-2.0
9-
10-
Unless required by applicable law or agreed to in writing, software
11-
distributed under the License is distributed on an "AS IS" BASIS,
12-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
See the License for the specific language governing permissions and
14-
limitations under the License.
15-
*/
16-
17-
use celma_core::parser::literal::{delimited_char, delimited_string};
18-
use celma_core::parser::specs::{Combine, Parse};
19-
20-
use celma_core::stream::specs::Stream;
21-
22-
use crate::genlex::token::Token;
2+
* Copyright 2019-2025 Didier Plaindoux
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
use celma_v0_core::parser::literal::{delimited_char, delimited_string};
18+
use celma_v0_core::parser::specs::{Combine, Parse};
19+
20+
use celma_v0_core::stream::specs::Stream;
21+
22+
use crate::token::Token;
2323

2424
#[allow(dead_code)]
2525
fn tokenizer<'a, S>(
@@ -29,8 +29,8 @@ fn tokenizer<'a, S>(
2929
where
3030
S: Stream<Item = char> + 'a,
3131
{
32-
use celma_core::parser::char::{alpha, digit, space};
33-
use celma_lang_v0_macro::parsec_rules;
32+
use celma_v0_core::parser::char::{alpha, digit, space};
33+
use celma_v0_macro::parsec_rules;
3434

3535
fn mk_char(a: Vec<char>) -> char {
3636
*a.first().unwrap()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@
1313
See the License for the specific language governing permissions and
1414
limitations under the License.
1515
*/
16+

lang/README.md

Lines changed: 0 additions & 46 deletions
This file was deleted.

lang/v0/ast/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
[package]
3-
name = "celma_lang_v0_ast"
3+
name = "celma_v0_ast"
44
version = "0.1.0"
55
authors = ["dplaindoux <[email protected]>"]
66
edition = "2021"

0 commit comments

Comments
 (0)