Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Tiny BASIC
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Later implementations=== In 2002, Emmanuel Chailloux, Pascal Manoury and Bruno Pagano published a Tiny BASIC (lacking {{code|GOSUB}}/{{code|RETURN}}) in ''Developing Applications with Objective Caml'' as an example [[Objective Caml]] application.<ref>{{cite book |last1=Chailloux |first1=Emmanuel |last2=Manoury |first2=Pascal |last3=Pagano |first3=Bruno |title=Developing Applications with Objective Caml |date=2002 |publisher=O'Reilly |location=France |isbn=2841771210}}</ref> In 2013, Alex Yang published an implementation in [[Python (programming language)|Python]].<ref>{{cite web |url=https://github.com/aleozlx/tinybasic |title=aleozlx/tinybasic |website=[[GitHub]] |access-date=2020-09-20}}</ref> In 2019, Sergey Kuznetsov published a version in [[Ruby (programming language)|Ruby]].<ref>{{cite web |url=https://sourceforge.net/p/paloalto-basic/code/ci/master/tree/paloaltobasic.rb |title=PaloAltoTinyBasic |access-date=2020-09-20}}</ref> Also in 2019, Oscar Toledo Gutierrez published bootBASIC, which fits in the 512 bytes of the boot sector of an 8086/8088 machine, making it the smallest BASIC implementation yet. To accomplish this, the language drops relational operators (IF statements work on nonzero values), limits lines of code to 19 characters or less, and doesn't update the display when backspace is pressed.<ref>{{cite web |last1=Williams |first1=Al |title=bootBASIC Fits Your Favorite Language in the Boot Sector |url=https://hackaday.com/2019/07/31/bootbasic-fits-your-favorite-language-in-the-boot-sector/ |website=Hack A Day |date=31 July 2019 |access-date=26 March 2022}}</ref> Additionally, it lacks GOSUB and RETURN but does include a RND function (without arguments, returning a value between 0 and 255).<ref>{{cite web |last1=Gutierrez |first1=Oscar Toledo |title=bootBASIC is a BASIC language in 512 bytes of x86 machine code. |url=https://github.com/nanochess/bootBASIC |website=Github |access-date=26 March 2022}}</ref> The language uses an array to store program lines, requiring 20,000 bytes to do so.<ref>{{cite book |last1=Gutierrez |first1=Oscar Toledo |title=Programming Boot Sector Games |date=27 July 2019 |publisher=Lulu |isbn=978-0-359-76262-0 |page=155}}</ref> In 2023, [https://projects.drogon.net/author/gordon/ Gordon Henderson] published a Tiny Basic implementation in 6502 assembler. It is influenced by NIBL and can run in as little as 3.5KB of ROM requiring at least 1KB of RAM for data and program storage. It supports DO/UNTIL, FOR/NEXT, simple strings and memory peek/poke (byte or 16-bit word), GOSUB/RETURN, CALL, RND with facilities for hexadecimal input and output.<ref>{{Cite web |last=Henderson |first=Gordon |date=2023 |title=A Tiny Basic for the 6502 |url=https://projects.drogon.net/gibl/ |website=Drogon Projects}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)