Data commit

This commit is contained in:
Ingy döt Net 2023-07-01 11:58:00 -04:00
parent 7387c8f97b
commit cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions

View file

@ -0,0 +1,74 @@
{{language
|express=both
|site=http://www.oxygenbasic.org/}}
OxygenBasic is a compilable language in the [[BASIC]] genre supporting [[object-oriented programming]], and containing features of [[C]]. Its earliest origins was as a macro [[Assembly]] code language in 2009, but subsequently acquired all the features of a high-level language.
The philosophy underlying OxygenBasic is to facilitate clean coding, with low syntax noise and few coding restrictions. The core language and compiler size are kept to a minimum.
== Examples ==
'''Hello World:'''
<pre>
print "Hello World!"
</pre>
'''Iteration:'''
<pre>
int i
string pr
for i=1 to 10
pr+="Line: " i chr(13,10)
next
print pr
</pre>
'''Function:'''
<pre>
function cube(double d) as double
return d*d*d
end function
print cube(3)
</pre>
'''Class:'''
<pre>
class MemoryBank
'
string buf
'
method store(string key,text)
buf += chr(1) + key + chr(2) + text + chr(3) + chr(13)
end method
'
method find(string key) as string
int a,b,c
a=instr 1,buf,chr(1) + key '+ chr(2)
if a then
b=instr a, buf, chr(2)
c=instr a, buf, chr(3)
return mid buf, b+1, c-b-1
end if
return "( "+key+ " not found )"
end method
'
method clear()
buf=""
end method
'
end class
MemoryBank b
b.store "shoes","500 pairs"
b.store "ships","10 galleons"
b.store "sealing wax","5 lbs"
string f=b.find("ships")
</pre>
== Current Status ==
The current implementation is available for Microsoft Windows and includes an x86 assembler. It can compile directly to memory, or to 32 bit and 64 bit binaries. Development is currently in Alpha phase. The compiler is a single DLL, and suitable for embedding in other Applications. It has been deployed as a module in thinBasic to support Assembly code and dynamic compiling.
The latest versions can be obtained here, including an IDE and numerous examples:
* http://www.oxygenbasic.org

View file

@ -0,0 +1,2 @@
---
from: http://rosettacode.org/wiki/Category:OxygenBasic

1
Lang/OxygenBasic/A+B Symbolic link
View file

@ -0,0 +1 @@
../../Task/A+B/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Active-object/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Add-a-variable-to-a-class-instance-at-runtime/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Anonymous-recursion/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Arena-storage-pool/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Arithmetic-Complex/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Array-concatenation/OxygenBasic

1
Lang/OxygenBasic/Arrays Symbolic link
View file

@ -0,0 +1 @@
../../Task/Arrays/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Associative-array-Creation/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Averages-Simple-moving-average/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Balanced-brackets/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Binary-digits/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Binary-strings/OxygenBasic

1
Lang/OxygenBasic/Bitmap Symbolic link
View file

@ -0,0 +1 @@
../../Task/Bitmap/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Call-a-function-in-a-shared-library/OxygenBasic

1
Lang/OxygenBasic/Classes Symbolic link
View file

@ -0,0 +1 @@
../../Task/Classes/OxygenBasic

1
Lang/OxygenBasic/Comments Symbolic link
View file

@ -0,0 +1 @@
../../Task/Comments/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Compile-time-calculation/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Compound-data-type/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Conditional-structures/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Constrained-genericity/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Copy-a-string/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Date-format/OxygenBasic

1
Lang/OxygenBasic/Deepcopy Symbolic link
View file

@ -0,0 +1 @@
../../Task/Deepcopy/OxygenBasic

1
Lang/OxygenBasic/Delegates Symbolic link
View file

@ -0,0 +1 @@
../../Task/Delegates/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Dining-philosophers/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Draw-a-cuboid/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Draw-a-rotating-cube/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Draw-a-sphere/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Empty-program/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Enumerations/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Evolutionary-algorithm/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Floyds-triangle/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Function-definition/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Function-prototype/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Generic-swap/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Greatest-element-of-a-list/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Hailstone-sequence/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Higher-order-functions/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/History-variables/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Identity-matrix/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Increment-a-numerical-string/OxygenBasic

1
Lang/OxygenBasic/Infinity Symbolic link
View file

@ -0,0 +1 @@
../../Task/Infinity/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Inheritance-Multiple/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Inheritance-Single/OxygenBasic

1
Lang/OxygenBasic/Input-loop Symbolic link
View file

@ -0,0 +1 @@
../../Task/Input-loop/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Integer-comparison/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Introspection/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Inverted-syntax/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Knapsack-problem-Bounded/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Knuth-shuffle/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Letter-frequency/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Matrix-multiplication/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Matrix-transposition/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Memory-allocation/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Metaprogramming/OxygenBasic

1
Lang/OxygenBasic/OpenGL Symbolic link
View file

@ -0,0 +1 @@
../../Task/OpenGL/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Parallel-calculations/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Polymorphic-copy/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Polymorphism/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Priority-queue/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Queue-Definition/OxygenBasic

1
Lang/OxygenBasic/Quine Symbolic link
View file

@ -0,0 +1 @@
../../Task/Quine/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Range-extraction/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Rate-counter/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Read-a-file-line-by-line/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Read-a-specific-line-from-a-file/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Read-entire-file/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Repeat-a-string/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Return-multiple-values/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Reverse-a-string/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Runtime-evaluation/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Show-ASCII-table/OxygenBasic

1
Lang/OxygenBasic/Singleton Symbolic link
View file

@ -0,0 +1 @@
../../Task/Singleton/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Sort-using-a-custom-comparator/OxygenBasic

1
Lang/OxygenBasic/Stack Symbolic link
View file

@ -0,0 +1 @@
../../Task/Stack/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Stack-traces/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/String-matching/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Topological-sort/OxygenBasic

View file

@ -0,0 +1 @@
../../Task/Tree-from-nesting-levels/OxygenBasic

1
Lang/OxygenBasic/Variables Symbolic link
View file

@ -0,0 +1 @@
../../Task/Variables/OxygenBasic