Skip to content

Commit

Permalink
Merge pull request #398 from yamacir-kit/machine
Browse files Browse the repository at this point in the history
Machine
  • Loading branch information
yamacir-kit authored Jun 16, 2022
2 parents 215c45e + 59a9f1a commit e01f937
Show file tree
Hide file tree
Showing 29 changed files with 585 additions and 466 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ sudo rm -rf /usr/local/share/meevax

| Target Name | Description
|:-------------------|:--
| `all` (default) | Build shared-library `libmeevax.0.4.40.so` and executable `meevax`.
| `all` (default) | Build shared-library `libmeevax.0.4.64.so` and executable `meevax`.
| `test` | Test executable `meevax`.
| `package` | Generate debian package `meevax_0.4.40_amd64.deb`.
| `package` | Generate debian package `meevax_0.4.64_amd64.deb`.
| `install` | Copy files into `/usr/local` __(1)__.
| `install.deb` | `all` + `package` + `sudo apt install <meevax>.deb`
| `safe-install.deb` | `all` + `test` + `package` + `sudo apt install <meevax>.deb`
Expand All @@ -120,7 +120,7 @@ __(1)__ Meevax installed by `make install` cannot be uninstalled by the system's
## Usage

```
Meevax Lisp System, version 0.4.40
Meevax Lisp System, version 0.4.64
Usage: meevax [OPTION...] [FILE...]
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.40
0.4.64
4 changes: 2 additions & 2 deletions basis/r4rs-essential.ss
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@
(if x #f #t))

(define (boolean? x)
(or (eqv? x #t)
(eqv? x #f)))
(or (eq? x #t)
(eq? x #f)))

(define (equal? x y)
(if (and (pair? x)
Expand Down
18 changes: 0 additions & 18 deletions include/meevax/kernel/boolean.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,6 @@ namespace meevax
{
inline namespace kernel
{
struct boolean
{
using value_type = bool;

const value_type value;

constexpr boolean(value_type const value)
: value { value }
{}

constexpr operator value_type() const noexcept
{
return value;
}
};

auto operator <<(std::ostream &, boolean const&) -> std::ostream &;

let extern const t;
let extern const f;

Expand Down
Loading

0 comments on commit e01f937

Please sign in to comment.