Category:XBS: Difference between revisions
Content added Content deleted
No edit summary |
(Updated some information) |
||
Line 1: | Line 1: | ||
{{language|XBS}} |
|||
== What is XBS? == |
== What is XBS? == |
||
XBS is an interpreted language written in [[JavaScript]]. |
XBS is an interpreted language written in [[JavaScript]]. XBS has similarities to JavaScript and Python, as well as some other languages. XBS can be used for any web page with the correct library. |
||
---- |
---- |
||
Line 9: | Line 9: | ||
XBS has a github page and is currently open-sourced. The github page has a wiki for the documentation; but just know, this language still isn't done. It has most features a programming language has, except for some minor details that I need to fix. |
XBS has a github page and is currently open-sourced. The github page has a wiki for the documentation; but just know, this language still isn't done. It has most features a programming language has, except for some minor details that I need to fix. |
||
XBS is still under active development, and gets updates/bug fixes almost everyday. |
|||
---- |
---- |
||
Line 27: | Line 25: | ||
} |
} |
||
log(FirstFunction(1,2));</lang> |
log(FirstFunction(1,2));</lang> |
||
== Typed XBS == |
|||
XBS has another version which is typed, and has improved features. Typed XBS allows better function defaults, variable types, function return types, function parameter types, improved expressional parsing, custom datatype methods, and some other features. Currently, typed XBS is implemented in the XBS Code Editor, which can be found in the links category. |
|||
<lang xbs>func Add(a:number=1,b:number=2):number{ |
|||
send a+b; #Add a & b |
|||
} |
|||
log(Add(2,2)); |
|||
log(Add());</lang> |
|||
<lang xbs>set String = "Hello, world!"; |
|||
log(String::reverse())</lang> |
|||
---- |
---- |
||
Line 45: | Line 30: | ||
== Links == |
== Links == |
||
[https://github.com/FIREYAUTO/XBS |
[https://github.com/FIREYAUTO/XBS Github]<br> |
||
[https:// |
[https://fireyauto.github.io/site/xbseditor2.html XBS Code Editor] |
||
== Notes == |
== Notes == |
||
XBS is currently going through a rewrite, and the wiki has not been rewritten yet. |
|||
The XBS code editor uses a different version of XBS. To see more into details, the code editor explains it on the page. |
Latest revision as of 16:15, 15 February 2022
XBS
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 XBS.
This programming language may be used to instruct a computer to perform a task.
See Also: |
|
---|
What is XBS?
XBS is an interpreted language written in JavaScript. XBS has similarities to JavaScript and Python, as well as some other languages. XBS can be used for any web page with the correct library.
Details
XBS has a github page and is currently open-sourced. The github page has a wiki for the documentation; but just know, this language still isn't done. It has most features a programming language has, except for some minor details that I need to fix.
Code Examples
Variable declaration
<lang xbs>set x = "Hello, world!"; log(x)</lang>
Functions
<lang xbs>func FirstFunction(a,b){
send a+b; #Add a and b
} log(FirstFunction(1,2));</lang>
Links
Notes
XBS is currently going through a rewrite, and the wiki has not been rewritten yet.
Pages in category "XBS"
The following 33 pages are in this category, out of 33 total.