Category:XBS: Difference between revisions

Updated some information
No edit summary
(Updated some information)
 
Line 1:
{{stub}}{{language|XBS}}
 
== What is XBS? ==
XBS is an interpreted language written in [[JavaScript]]. TheXBS mainhas purposesimilarities ofto XBSJavaScript isand toPython, provideas anwell easyas waysome toother interactlanguages. XBS can be used for any web page with the web.correct library.
 
----
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 is still under active development, and gets updates/bug fixes almost everyday.
 
----
Line 27 ⟶ 25:
}
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 ⟶ 30:
== Links ==
 
[https://github.com/FIREYAUTO/XBS/wiki Github]<br>
[https://jsfireyauto.dogithub.io/FIREYAUTOsite/xbscodeeditorxbseditor2.html XBS Code Editor]
 
== 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.
Anonymous user