-
Notifications
You must be signed in to change notification settings - Fork 20
Add BASIC Seed Script #21
Copy link
Copy link
Closed
Labels
HacktoberfestGood issue for HacktoberfestGood issue for Hacktoberfestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needednew languageAdd a sample script in a new languageAdd a sample script in a new language
Description
Metadata
Metadata
Assignees
Labels
HacktoberfestGood issue for HacktoberfestGood issue for Hacktoberfestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needednew languageAdd a sample script in a new languageAdd a sample script in a new language
Add a BASIC "seed" script to the seeds folder. Basically, this would be an executable BASIC file (with
#!/usr/bin/env bwbasicthat parses some simple command-line arguments (like -h or -t, see other scripts as examples) and prints a sentence or two to the command line. It's intended to demonstrate how to parse command line arguments and print something to the console in BASIC.See CONTRIBUTING.md, and feel free to ask for help or clarification here.
You'll probably need to use
bwbasicas the interpreter on Ubuntu. If you're on Mac or Windows, you can either use bwbasic inside a Docker container or find a BASIC interpreter compatible with your platform.As a rough example, see #26.