BareBones icon

BareBones For Linux

2.7/5 13
GPL v3    

BareBones is an interpreter for the 'Bare Bones' programming language.. #Bare Bones interpreter  #Programming language  #Fibonacci sequences  #Bare  #Bones  #Interpreter  

Description

Free Download

BareBones is an interpreter for the "Bare Bones" programming language.

BareBones should be invoked from the command line with the name of the source file given as an argument:

barebones prog1.bb

Optionally, additional command line arguments may be used to initialize variables:

barebones X=37 Y=116 prog1.bb

One extension is added to the language as defined in the book. At the beginning of a Bare Bones source file, prior to the program proper, variables may be initialized to non-negative integer values:

init X = 37;

By default, variables that are not initialized explicitly will be implicitly initialized to zero. If the "-u" option is given on the command line, this initialization is suppressed, and any reference to an uninitialized variable, other than in a clear statement, will result in a run time error.

Before the program is interpreted, the initial values of all variables will be printed to standard output. After successful completion of the interpreter, the final values will be printed.

The "-O" command line option enables optimization of the program. Currently only one type of optimization is performed. A common idiom in Bare Bones programs is to use a while loop to add one variable to another, clearing the first in the process. The optimizer will recognize this idiom and implement a direct solution, replacing the standard iterative interpretation of the while loop.

Two sample Bare Bones programs are provided in the "examples" subdirectory. fibonacci.bb will compute the Nth number in the Fibonacci sequences. factorial.bb will compute the factorial of a (small) positive integer.

For example, to compute six factorial:

barebones N=6 examples/factorial.bb

What's New in This Release:

� this release makes identifiers case-insensitive. � The README file now includes a summary of the language.

BareBones 0.4

add to watchlist add to download basket send us an update REPORT
  runs on:
Linux
  filename:
barebones-0.4.tar.gz
  1 screenshot:
BareBones - screenshot #1
  main category:
Programming
  developer:
  visit homepage

Bitdefender Antivirus Free 27.0.35.146

Feather-light and free antivirus solution from renowned developer that keeps the PC protected at all times from malware without requiring user configuration
Bitdefender Antivirus Free

Zoom Client 6.0.3.37634

The official desktop client for Zoom, the popular video conferencing and collaboration tool used by millions of people worldwide
Zoom Client

4k Video Downloader 1.5.3.0080 Plus / 4.30.0.5655

Export your favorite YouTube videos and playlists with this intuitive, lightweight program, built to facilitate downloading clips from the popular website
4k Video Downloader

Windows Sandbox Launcher 1.0.0

Set up the Windows Sandbox parameters to your specific requirements, with this dedicated launcher that features advanced parametrization
Windows Sandbox Launcher

calibre 7.9.0

Effortlessly keep your e-book library thoroughly organized with the help of the numerous features offered by this efficient and capable manager
calibre

Microsoft Teams 24060.3102.2733.5911 Home / 1.7.00.7956 Work

Effortlessly chat, collaborate on projects, and transfer files within a business-like environment by employing this Microsoft-vetted application
Microsoft Teams

7-Zip 23.01 / 24.04 Beta

An intuitive application with a very good compression ratio that can help you not only create and extract archives, but also test them for errors
7-Zip

IrfanView 4.67

With support for a long list of plugins, this minimalistic utility helps you view images, as well as edit and convert them using a built-in batch mode
IrfanView

ShareX 16.0.1

Capture your screen, create GIFs, and record videos through this versatile solution that includes various other amenities: an OCR scanner, image uploader, URL shortener, and much more
ShareX

Context Menu Manager 3.3.3.1

Customize Windows’ original right-click context menu using this free, portable and open-source utility meant to enhance your workflow
Context Menu Manager

% discount
IrfanView
  • IrfanView
  • ShareX
  • Context Menu Manager
  • Bitdefender Antivirus Free
  • Zoom Client
  • 4k Video Downloader
  • Windows Sandbox Launcher
  • calibre
  • Microsoft Teams
  • 7-Zip
essentials


Click to load comments
This enables Disqus, Inc. to process some of your data. Disqus privacy policy