Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.0.3 #8

Merged
merged 36 commits into from
Aug 23, 2024
Merged

V0.0.3 #8

merged 36 commits into from
Aug 23, 2024

Conversation

FL03
Copy link
Owner

@FL03 FL03 commented Jul 29, 2024

No description provided.

FL03 added 2 commits July 29, 2024 10:31
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
@FL03 FL03 added bug Something isn't working enhancement New feature or request rust Any additions or improvements regarding Rust model Any additions or improvements to implemented models labels Jul 29, 2024
@FL03 FL03 added this to the v0.0.3 milestone Jul 29, 2024
@FL03 FL03 self-assigned this Jul 29, 2024
@FL03 FL03 linked an issue Jul 29, 2024 that may be closed by this pull request
FL03 added 5 commits July 29, 2024 10:43
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/tape/iter.rs Fixed Show fixed Hide fixed
core/src/traits/actor.rs Fixed Show fixed Hide fixed
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/traits/actor.rs Fixed Show fixed Hide fixed
core/src/traits/actor.rs Fixed Show fixed Hide fixed
core/src/traits/actor.rs Fixed Show fixed Hide fixed
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/actors/mod.rs Fixed Show fixed Hide fixed
core/src/actors/actor.rs Fixed Show fixed Hide fixed
core/src/tape/mod.rs Fixed Show fixed Hide fixed
core/src/tape/mod.rs Fixed Show fixed Hide fixed
FL03 added 3 commits July 29, 2024 15:30
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/actors/actor.rs Fixed Show fixed Hide fixed
FL03 added 2 commits July 31, 2024 11:52
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/state/states/halting.rs Fixed Show fixed Hide fixed
core/src/state/states/halting.rs Fixed Show fixed Hide fixed
core/src/state/states/halting.rs Fixed Show fixed Hide fixed
core/src/state/states/halting.rs Fixed Show fixed Hide fixed
core/src/state/states/halting.rs Fixed Show fixed Hide fixed
core/src/state/states/halting.rs Fixed Show fixed Hide fixed
core/src/state/states/halting.rs Fixed Show fixed Hide fixed
core/src/state/states/halting.rs Fixed Show fixed Hide fixed
core/src/state/states/halting.rs Fixed Show fixed Hide fixed
core/src/tape/mod.rs Fixed Show fixed Hide fixed
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/state/state.rs Fixed Show fixed Hide fixed
core/src/state/state.rs Fixed Show fixed Hide fixed
core/src/state/state.rs Fixed Show fixed Hide fixed
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/actors/actor.rs Fixed Show fixed Hide fixed
core/src/actors/actor.rs Fixed Show fixed Hide fixed
core/src/actors/actor.rs Fixed Show fixed Hide fixed
Comment on lines 31 to 39
pub fn from_iter(instructions: impl IntoIterator<Item = Rule<Q, S>>) -> Self
where
Q: Default,
{
Self {
initial_state: State::default(),
ruleset: RuleSet::from_iter(instructions),
ruleset: Ruleset::from_iter(instructions),
}
}

Check warning

Code scanning / clippy

method from_iter can be confused for the standard trait method std::iter::FromIterator::from_iter Warning

method from\_iter can be confused for the standard trait method std::iter::FromIterator::from\_iter
core/src/types/direction.rs Fixed Show fixed Hide fixed
core/src/types/mod.rs Fixed Show fixed Hide fixed
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/rules/builders/program.rs Fixed Show fixed Hide fixed
Comment on lines +17 to +19
pub fn new() -> RuleBuilder<Q, S> {
RuleBuilder::new()
}

Check warning

Code scanning / clippy

methods called new usually return Self Warning

methods called new usually return Self
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/actors/actor.rs Fixed Show fixed Hide fixed
core/src/actors/exec.rs Fixed Show fixed Hide fixed
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/types/head.rs Fixed Show fixed Hide fixed
core/src/types/head.rs Fixed Show fixed Hide fixed
core/src/types/head.rs Fixed Show fixed Hide fixed
core/src/types/head.rs Fixed Show fixed Hide fixed
core/src/types/head.rs Fixed Show fixed Hide fixed
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/actors/exec.rs Fixed Show fixed Hide fixed
FL03 added 2 commits August 21, 2024 14:56
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/state/halt/state.rs Fixed Show fixed Hide fixed
core/src/state/halt/state.rs Fixed Show fixed Hide fixed
core/src/state/halt/state.rs Fixed Show fixed Hide fixed
core/src/state/halt/state.rs Fixed Show fixed Hide fixed
core/src/state/halt/state.rs Fixed Show fixed Hide fixed
core/src/state/halt/state.rs Fixed Show fixed Hide fixed
core/src/state/halt/wrap.rs Fixed Show fixed Hide fixed
core/src/state/halt/wrap.rs Fixed Show fixed Hide fixed
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/actors/actor.rs Fixed Show fixed Hide fixed
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/types/head.rs Fixed Show fixed Hide fixed
core/src/types/head.rs Fixed Show fixed Hide fixed
core/src/types/head.rs Fixed Show fixed Hide fixed
@FL03 FL03 linked an issue Aug 22, 2024 that may be closed by this pull request
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/actors/actor.rs Fixed Show fixed Hide fixed
Comment on lines +27 to +29
pub fn new() -> ActorBuilder<Q, S> {
ActorBuilder::new()
}

Check warning

Code scanning / clippy

methods called new usually return Self Warning

methods called new usually return Self
seal!();

fn as_slice(&self) -> &[Self::Elem] {
&self

Check warning

Code scanning / clippy

this expression creates a reference which is immediately dereferenced by the compiler Warning

this expression creates a reference which is immediately dereferenced by the compiler
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
fn write_symbol(&self) -> &S {
&self.write_symbol()
fn value(&self) -> &S {
&self.symbol()

Check warning

Code scanning / clippy

this expression creates a reference which is immediately dereferenced by the compiler Warning

this expression creates a reference which is immediately dereferenced by the compiler
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
core/src/rules/workload.rs Fixed Show fixed Hide fixed
Comment on lines +58 to +67
pub fn from_iter<I>(iter: I) -> Self
where
Q: Default,
I: IntoIterator<Item = (Head<Q, S>, Tail<Q, S>)>,
{
Self {
initial_state: State::default(),
rules: HashMap::from_iter(iter),
}
}

Check warning

Code scanning / clippy

method from_iter can be confused for the standard trait method std::iter::FromIterator::from_iter Warning

method from\_iter can be confused for the standard trait method std::iter::FromIterator::from\_iter
FL03 and others added 2 commits August 23, 2024 13:00
Signed-off-by: Joe McCain III <jo3mccain@icloud.com>
@FL03 FL03 merged commit 037db9e into main Aug 23, 2024
@FL03 FL03 deleted the v0.0.3 branch August 23, 2024 18:01
use super::Actor;
use crate::{Error, Head, Program, Symbolic};

///

Check warning

Code scanning / clippy

empty doc comment Warning

empty doc comment
Comment on lines +104 to +110
pub fn from_str(value: &str) -> Self {
match value {
"left" | "Left" | "LEFT" | "l" | "L" => Self::Left,
"right" | "Right" | "RIGHT" | "r" | "R" => Self::Right,
_ => Self::Stay,
}
}

Check warning

Code scanning / clippy

method from_str can be confused for the standard trait method std::str::FromStr::from_str Warning

method from\_str can be confused for the standard trait method std::str::FromStr::from\_str
}

fn get_mut(&mut self, key: &Self::Key) -> Option<&mut Self::Value> {
HashMap::get_mut(self, &key)

Check warning

Code scanning / clippy

this expression creates a reference which is immediately dereferenced by the compiler Warning

this expression creates a reference which is immediately dereferenced by the compiler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request model Any additions or improvements to implemented models rust Any additions or improvements regarding Rust
Projects
None yet
1 participant