Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Tiny BASIC
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
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>
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Tiny BASIC
(section)
Add topic