Skip to content

Commit 72c0be1

Browse files
author
Aaron Wohl
committed
split out IO to make webassembly verison easier
1 parent c4ce465 commit 72c0be1

11 files changed

Lines changed: 22 additions & 22 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
Summary: MBASIC 5.21 Compatible Interpreter
104104
105105
License: MIT
106-
URL: https://github.com/jwoehr/mbasic_cc
106+
URL: https://github.com/avwohl/mbasicc
107107
Source0: %{name}-%{version}.tar.gz
108108
109109
BuildRequires: gcc-c++ make libedit-devel

ARCHITECTURE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This document describes the architecture for a C++ implementation of an MBASIC 5
77
## Project Structure
88

99
```
10-
mbasic_cc/
10+
mbasicc/
1111
├── CMakeLists.txt # Build configuration
1212
├── include/
1313
│ └── mbasic/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# MBASIC 5.21 C++ Interpreter Makefile
2-
# https://github.com/jwoehr/mbasic_cc
2+
# https://github.com/avwohl/mbasicc
33

44
CXX := g++
55
CXXFLAGS := -std=c++17 -Wall -Wextra -Wpedantic -O2

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
A modern C++ implementation of Microsoft BASIC-80 version 5.21.
44

5-
**Repository:** https://github.com/jwoehr/mbasic_cc
5+
**Repository:** https://github.com/avwohl/mbasicc
66

7-
[![CI](https://github.com/jwoehr/mbasic_cc/actions/workflows/ci.yml/badge.svg)](https://github.com/jwoehr/mbasic_cc/actions/workflows/ci.yml)
7+
[![CI](https://github.com/avwohl/mbasicc/actions/workflows/ci.yml/badge.svg)](https://github.com/avwohl/mbasicc/actions/workflows/ci.yml)
88

99
## Installation
1010

@@ -41,26 +41,26 @@ sudo cp mbasicc-X.Y.Z-linux-amd64/mbasicc /usr/local/bin/
4141
**Debian/Ubuntu:**
4242
```bash
4343
sudo apt-get install build-essential libedit-dev
44-
git clone https://github.com/jwoehr/mbasic_cc.git
45-
cd mbasic_cc
44+
git clone https://github.com/avwohl/mbasicc.git
45+
cd mbasicc
4646
make
4747
sudo cp mbasicc /usr/local/bin/
4848
```
4949

5050
**Fedora/RHEL:**
5151
```bash
5252
sudo dnf install gcc-c++ make libedit-devel
53-
git clone https://github.com/jwoehr/mbasic_cc.git
54-
cd mbasic_cc
53+
git clone https://github.com/avwohl/mbasicc.git
54+
cd mbasicc
5555
make
5656
sudo cp mbasicc /usr/local/bin/
5757
```
5858

5959
**macOS:**
6060
```bash
6161
# libedit is included in macOS
62-
git clone https://github.com/jwoehr/mbasic_cc.git
63-
cd mbasic_cc
62+
git clone https://github.com/avwohl/mbasicc.git
63+
cd mbasicc
6464
make
6565
sudo cp mbasicc /usr/local/bin/
6666
```
@@ -162,7 +162,7 @@ These hardware-specific features are implemented as stubs that return 0 or do no
162162
## Project Structure
163163

164164
```
165-
mbasic_cc/
165+
mbasicc/
166166
├── include/mbasic/ # Header files
167167
│ ├── ast.hpp # Abstract Syntax Tree definitions
168168
│ ├── error.hpp # Error codes and messages

include/mbasic/file_handler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22
// MBASICC - MBASIC 5.21 C++ Interpreter
3-
// https://github.com/jwoehr/mbasic_cc
3+
// https://github.com/avwohl/mbasicc
44
//
55
// File Handler Abstraction
66
// This interface allows the interpreter's file I/O to be portable across

include/mbasic/interpreter.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22
// MBASICC - MBASIC 5.21 C++ Interpreter
3-
// https://github.com/jwoehr/mbasic_cc
3+
// https://github.com/avwohl/mbasicc
44

55
#include <functional>
66
#include <optional>

include/mbasic/io_handler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22
// MBASICC - MBASIC 5.21 C++ Interpreter
3-
// https://github.com/jwoehr/mbasic_cc
3+
// https://github.com/avwohl/mbasicc
44
//
55
// I/O Handler Abstraction
66
// This interface allows the interpreter to be portable across different

man/mbasicc.1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ as stubs for compatibility.
120120
Report bugs at:
121121
.PP
122122
.RS
123-
https://github.com/jwoehr/mbasic_cc/issues
123+
https://github.com/avwohl/mbasicc/issues
124124
.RE
125125
.SH AUTHOR
126-
Written as part of the mbasic_cc project.
126+
Written as part of the mbasicc project.
127127
.SH COPYRIGHT
128128
Copyright \(co 2025. Licensed under the GNU General Public License v3.0.
129129
.SH SEE ALSO
130130
.PP
131-
Project repository: https://github.com/jwoehr/mbasic_cc
131+
Project repository: https://github.com/avwohl/mbasicc
132132
.PP
133133
BASIC-80 Reference Manual v5.21 (AA-P226A-TV)

src/console_io.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// MBASICC - MBASIC 5.21 C++ Interpreter
2-
// https://github.com/jwoehr/mbasic_cc
2+
// https://github.com/avwohl/mbasicc
33
//
44
// ConsoleIO Implementation - Standard console I/O using std::cin/std::cout
55

src/file_handler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// MBASICC - MBASIC 5.21 C++ Interpreter
2-
// https://github.com/jwoehr/mbasic_cc
2+
// https://github.com/avwohl/mbasicc
33
//
44
// File Handler Implementation - Native file system using std::fstream
55

0 commit comments

Comments
 (0)