New page wikitext, after the edit (new_wikitext) | 'DotsScript is a JavaScript interpreter that makes your JavaScript code much simpler by making the whole code using 2 characters only, the <code>.</code> and the <code>ᱹ</code> character.
== Installation ==
The interpreter is available through npm and yarn under the name <code>dotsscript</code>
 npm i -g dotsscript
Or
 yarn global add dotsscript
== Usage ==
You can use DotsScript by importing the library in your JavaScript file:
 import 'dotsscript';
 
 // Your code here
<span id="example"></span>
== Example ==
Here is an example of how you can use DotsScript:
 ᱹ.ᱹᱹ.ᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ
  .ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ
  .ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹ.ᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹ
  .ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹ.ᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹ.ᱹᱹᱹ
  .ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ
  .ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹ
This code is equivalent to the following code:
 console.log('Hello, World!');
As you can see, the code is much simpler and do not contain any characters that can confuse you.
== Documentation ==
The global object <code>ᱹ</code> is the main object that you can use to access the DotsScript API. It contains the following properties:
{| class="wikitable"
|-
! Property
! Description
|-
| <code>ᱹ</code>
| Execute the code and returns a new <code>ᱹ</code> object
|-
| <code>ᱹᱹ</code>
| Lower-case letters from <code>a</code> to <code>z</code>
|-
| <code>ᱹᱹᱹ</code>
| Upper-case letters from <code>A</code> to <code>Z</code>
|-
| <code>ᱹᱹᱹᱹ</code>
| Numbers from <code>0</code> to <code>9</code>
|-
| <code>ᱹᱹᱹᱹᱹ</code>
| Special characters <code>*+,-./</code>
|-
| <code>ᱹᱹᱹᱹᱹᱹ</code>
| Special characters <code>!"#$%&'()</code>
|-
| <code>ᱹᱹᱹᱹᱹᱹᱹ</code>
| Special characters <code>[]^_`</code>
|-
| <code>ᱹᱹᱹᱹᱹᱹᱹᱹ</code>
| Special characters <code>:;<=>?@</code>
|-
| <code>ᱹᱹᱹᱹᱹᱹᱹᱹᱹ</code>
| Special characters <code>{<nowiki>|</nowiki>}~</code>
|}
After accessing the desired group, enter <code>ᱹ</code> n times as the property name to access the desired character where n is the index of the character in the group.
For example, to access the character <code>f</code>, you can use the following code:
 ᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹ
This will add the character <code>f</code> to the code and will return the <code>ᱹ</code> object so you can continue chaining the characters.
After you finish chaining the characters, simply add a <code>.ᱹ</code> at the end of the chain to execute the code. This will execute the code and return a new <code>ᱹ</code> object so you can continue writing the code.
'''Note:''' After each execution, the code will reset so you can start a fresh new code.
== Links ==
* GitHub Repo: [https://github.com/xpodev/dot-script.chat/ github]
* NPM: [https://npmjs.com/package/dotsscript npm.js]'  | 
Lines added in edit (added_lines) | [
	0 => 'DotsScript is a JavaScript interpreter that makes your JavaScript code much simpler by making the whole code using 2 characters only, the <code>.</code> and the <code>ᱹ</code> character.',
	1 => '',
	2 => '== Installation ==',
	3 => '',
	4 => 'The interpreter is available through npm and yarn under the name <code>dotsscript</code>',
	5 => '',
	6 => ' npm i -g dotsscript',
	7 => '',
	8 => 'Or',
	9 => '',
	10 => ' yarn global add dotsscript',
	11 => '',
	12 => '== Usage ==',
	13 => '',
	14 => 'You can use DotsScript by importing the library in your JavaScript file:',
	15 => '',
	16 => ' import 'dotsscript';',
	17 => ' ',
	18 => ' // Your code here',
	19 => '',
	20 => '<span id="example"></span>',
	21 => '== Example ==',
	22 => '',
	23 => 'Here is an example of how you can use DotsScript:',
	24 => '',
	25 => ' ᱹ.ᱹᱹ.ᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ',
	26 => '  .ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ',
	27 => '  .ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹ.ᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹ',
	28 => '  .ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹ.ᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹ.ᱹᱹᱹ',
	29 => '  .ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ',
	30 => '  .ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹ.ᱹᱹᱹᱹᱹᱹᱹᱹᱹᱹ.ᱹ',
	31 => 'This code is equivalent to the following code:',
	32 => '',
	33 => ' console.log('Hello, World!');',
	34 => 'As you can see, the code is much simpler and do not contain any characters that can confuse you.',
	35 => '',
	36 => '== Documentation ==',
	37 => '',
	38 => 'The global object <code>ᱹ</code> is the main object that you can use to access the DotsScript API. It contains the following properties:',
	39 => '',
	40 => '{| class="wikitable"',
	41 => '|-',
	42 => '! Property',
	43 => '! Description',
	44 => '|-',
	45 => '| <code>ᱹ</code>',
	46 => '| Execute the code and returns a new <code>ᱹ</code> object',
	47 => '|-',
	48 => '| <code>ᱹᱹ</code>',
	49 => '| Lower-case letters from <code>a</code> to <code>z</code>',
	50 => '|-',
	51 => '| <code>ᱹᱹᱹ</code>',
	52 => '| Upper-case letters from <code>A</code> to <code>Z</code>',
	53 => '|-',
	54 => '| <code>ᱹᱹᱹᱹ</code>',
	55 => '| Numbers from <code>0</code> to <code>9</code>',
	56 => '|-',
	57 => '| <code>ᱹᱹᱹᱹᱹ</code>',
	58 => '| Special characters <code>*+,-./</code>',
	59 => '|-',
	60 => '| <code>ᱹᱹᱹᱹᱹᱹ</code>',
	61 => '| Special characters <code>!"#$%&'()</code>',
	62 => '|-',
	63 => '| <code>ᱹᱹᱹᱹᱹᱹᱹ</code>',
	64 => '| Special characters <code>[]^_`</code>',
	65 => '|-',
	66 => '| <code>ᱹᱹᱹᱹᱹᱹᱹᱹ</code>',
	67 => '| Special characters <code>:;<=>?@</code>',
	68 => '|-',
	69 => '| <code>ᱹᱹᱹᱹᱹᱹᱹᱹᱹ</code>',
	70 => '| Special characters <code>{<nowiki>|</nowiki>}~</code>',
	71 => '|}',
	72 => '',
	73 => 'After accessing the desired group, enter <code>ᱹ</code> n times as the property name to access the desired character where n is the index of the character in the group.',
	74 => '',
	75 => 'For example, to access the character <code>f</code>, you can use the following code:',
	76 => '',
	77 => ' ᱹ.ᱹᱹ.ᱹᱹᱹᱹᱹᱹ',
	78 => 'This will add the character <code>f</code> to the code and will return the <code>ᱹ</code> object so you can continue chaining the characters.',
	79 => '',
	80 => 'After you finish chaining the characters, simply add a <code>.ᱹ</code> at the end of the chain to execute the code. This will execute the code and return a new <code>ᱹ</code> object so you can continue writing the code.',
	81 => '',
	82 => ''''Note:''' After each execution, the code will reset so you can start a fresh new code.',
	83 => '',
	84 => '== Links ==',
	85 => '',
	86 => '* GitHub Repo: [https://github.com/xpodev/dot-script.chat/ github]',
	87 => '* NPM: [https://npmjs.com/package/dotsscript npm.js]'
]  |