-
Notifications
You must be signed in to change notification settings - Fork 3
Add install instructions to readme #6
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
Open
lomnom
wants to merge
1
commit into
cwesson:master
Choose a base branch
from
lomnom:patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add install instructions
Installation instructions should be added directly to the readme to reduce the frustration that new users may face.
- Loading branch information
commit 81b40ae5484eba9a15ca5508292eddf8e50948a0
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,16 @@ Funge++ is Befunge interpreter originally written by Conlan Wesson in Java for a | |
| with minimal functionality. It has since been converted to C++, supports all Funge-98 instructions and N-dimensional | ||
| Funge. The Funge++ handprint is 0x464E2B2B (`FN++`). | ||
|
|
||
| ## Installation | ||
| These instructions have been tested on Ubuntu 20. | ||
|
|
||
| 1. Clone with `git clone --recursive https://github.com/cwesson/funge-plus-plus.git` | ||
| 2. Ensure make, cmake and g++ are installed. On ubuntu this can be done with `sudo apt install make cmake g++`. | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. cmake is not needed |
||
| 3. Run `make build` in the `funge-plus-plus` directory. | ||
|
|
||
| After completion, the executable is produced in `funge-plus-plus/bin/funge`. It can be run from the `funge-plus-plus` | ||
| directory as `bin/funge [befunge file to run]`. | ||
|
|
||
| ## Running | ||
| The Funge++ executable `funge` uses the first file argument to load the funge program. The first character of the | ||
| file is an instruction at (0,0). Each subsequent character is an instruction at X+1. Both carriage returns and | ||
|
|
@@ -127,4 +137,4 @@ Instructions from dynamic Funges run with the same stack as the IP that called t | |
| ## Debugger | ||
| The Funge++ debugger, known as defunge, can be run on any Befunge program by specifying the `-g` command line argument. | ||
|
|
||
| See [Defunge](doc/defunge.md) for details. | ||
| See [Defunge](doc/defunge.md) for details. | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is one submodule as well, probably should add
git submodule update --init