rename relish to flesh

This commit is contained in:
Ava Apples Affine 2024-02-06 22:39:08 +00:00
parent 415b1181fa
commit 9b447eb5b7
58 changed files with 252 additions and 245 deletions

View file

@ -1,5 +1,5 @@
/* relish: versatile lisp shell
* Copyright (C) 2021 Aidan Hahn
/* Flesh: Flexible Shell
* Copyright (C) 2021 Ava Affine
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -67,7 +67,7 @@ Attempts to find argument in PATH and attempts to call argument";
pub fn run_callback(ast: &Seg, syms: &mut SymTable) -> Result<Ctr, Traceback> {
if let Ctr::String(ref filename) = *ast.car {
if filename.ends_with(".rls") {
if filename.ends_with(".f") {
if let Some(filepath) = find_on_path(filename.to_string()) {
run(filepath, syms)
.and(Ok(Ctr::None))
@ -91,7 +91,7 @@ pub fn run_callback(ast: &Seg, syms: &mut SymTable) -> Result<Ctr, Traceback> {
}
} else {
Err(start_trace(
("<call script>", "expected a relish script with a .rls extension")
("<call script>", "expected a flesh script with a .f extension")
.into()))
}
} else {