Category:Battlestar: Difference between revisions
Content added Content deleted
m (Fixed typo, added url) |
m (→Features) |
||
Line 23: | Line 23: | ||
* Programs can be run like scripts by including this line at the top: #!/usr/bin/bts |
* Programs can be run like scripts by including this line at the top: #!/usr/bin/bts |
||
* Interrupts can be called with the same syntax for both 32-bit and 64-bit x86 on Linux. |
* Interrupts can be called with the same syntax for both 32-bit and 64-bit x86 on Linux. |
||
* The intermediate assembly is fully commented. |
|||
== Project page == |
== Project page == |
Revision as of 17:09, 9 April 2014
Battlestar
This programming language may be used to instruct a computer to perform a task.
Listed below are all of the tasks on Rosetta Code which have been solved using Battlestar.
This programming language may be used to instruct a computer to perform a task.
See Also: |
|
---|
Battlestar
A different take on assembly, with the goal of creating tiny executables.
Battlestar is
- A work in progress.
- Created for fun and for the educational process.
- A programming language specifically for 64-bit x86 Linux, 32-bit x86 Linux, 32-bit x86 OS X and 16-bit x86 DOS.
- Subset of assembly with different syntax and support for inline C.
- The indended purpose is for writing 4k and 64k demoscene demos.
Features
- The resulting executables are tiny!
- "hello world" is only 129 bytes on 32-bit Linux (when using sstrip from elfkickers).
- It's possible to write an operating system with only one source file.
- Full support for inline C (by utilizing gcc).
- C and Battlestar code can exist in the same source file and calls can be made both ways.
- Battlestar programs compiles almost instantly.
- Programs can be run like scripts by including this line at the top: #!/usr/bin/bts
- Interrupts can be called with the same syntax for both 32-bit and 64-bit x86 on Linux.
- The intermediate assembly is fully commented.
Project page
Pages in category "Battlestar"
The following 3 pages are in this category, out of 3 total.