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,4 @@
& | ^ ~ //bitwise AND, OR, XOR, and NOT
>> << //bitwise arithmetic shift
>>> //bitwise logical shift
+ - * / = % //+ can be used for String concatenation)

View file

@ -0,0 +1,3 @@
x = x + 2 is the same as x += 2
++ -- //increment and decrement--before a variable for pre (++x), after for post(x++)
== < > != <= >= //comparison

View file

@ -0,0 +1,3 @@
! //NOT
&& || //short-circuit AND, OR
^ & | //long-circuit XOR, AND, OR

View file

@ -0,0 +1,9 @@
{ } //scope
( ) //for functions
; //statement terminator
[ ] //array index
" //string literal
' //character literal
? : //ternary operator
// //comment prefix (can be escaped by \u unicode escape sequence see below)
/* */ //comment enclosures (can be escaped by \u unicode escape sequence see below)

View file

@ -0,0 +1,10 @@
\b //Backspace
\n //Line Feed
\r //Carriage Return
\f //Form Feed
\t //Tab
\0 //Null) Note. This is actually a OCTAL escape but handy nonetheless
\' //Single Quote
\" //Double Quote
\\ //Backslash
\DDD //Octal Escape Sequence, D is a number between 0 and 7; can only express characters from 0 to 255 (i.e. \0 to \377)

View file

@ -0,0 +1 @@
\uHHHH //Unicode Escape Sequence, H is any hexadecimal digit between 0 and 9 and between A and F

View file

@ -0,0 +1 @@
// hello \u000A this looks like a comment

View file

@ -0,0 +1 @@
"hello \u0022 is this a string?"

View file

@ -0,0 +1,3 @@
/*
* c:\unix\home\
*/