0.0.6 • Published 5 years ago

jsworst v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

JSWORST.JS 🎈

Jsworst is a modified version of javascript, but made to be as long and annoying as possible. If you have the courage to code with this... thing? You have patience You can always contribute to change this dirty code. 🤮

Check List

  • Worst to Javascript translator
  • Fetch all .jworst files in a folder
  • Run .jsworst file with cmd
  • require() equivalent in jsworst

An exemple

Exemple:

consoledotlog parenthesis_open double_quote Hello World double_quote parenthesis_close
variable x equals true
if parenthesis_open x parenthesis_close curly_bracket_open
    consoledotlog parenthesis_open double_quote X is true! double_quote parenthesis_close
curly_bracket_close

Translation:

console.log("Hello World")
let x = true;
if(x){
	console.log("X is true!")
}

Just in case, you can't use Javascript in jsworst, it'll make some errors.

But how can I install this... thing?

It's simple! You just have to type in your console:

npm install jsworst

And it's done!

Once you have installed jsworst, you just have to create a .jsworst in your folder. You can now write in jsworst in your file. Once done, run your cmd and enter the command

node node_modules/jsworst/ run <path of your .jsworst file>"

List of .jsworst elements

Operators

  • equals : =
  • inequals : !=
  • double_inequals : !==
  • triple_equals : ===
  • double_equals : ==
  • superior_equals : >=
  • inferior_equals : <=
  • superior : >
  • inferior : <
  • plus : +
  • minus : -
  • circumflex : ^
  • slash : /
  • asterisk : *
  • dot : .
  • percent : %
  • binary_and: &
  • logical_and : &&
  • binary_or: |
  • logical_or : ||
  • increment : ++
  • decrement : - -
  • not_binary : ~

  • plus_equals : +=
  • minus_equals : -=
  • asterisk_equals : *=
  • slash_equals : /=
  • percent_equals : %=
  • double_asterisk_equals : **=
  • double_angle_bracket_open_equals : <<=
  • double_angle_bracket_close_equals : >>=
  • tripple_angle_bracket_close_equals : >>>=
  • and_equals : &=
  • circumflex_equals : ^=
  • or_equals : |=

Characters

  • curly_bracket_open : {
  • curly_bracket_close : }
  • square_bracket_open : [
  • square_bracket_close : ]
  • angle_bracket_open : <
  • angle_bracket_close : >
  • parenthesis_open : (
  • parenthesis_close : )
  • arrow : =>
  • variable : let / var
  • constant : const
  • double_quote : "
  • quote : '
  • back_quote : `
  • dot : .
  • two_dotes : :
  • semicolon : ;
  • dollar : $
  • hashtag : #
  • dash : -
  • bottomdash :

Language

  • comment : # or //
  • start_comment : /*
  • end_comment : */
  • create_a_new_awesome_function : function

Functions

Warning, i'm just giving the name of the functions, to use it you must use for exemple consoledotlog parenthesis_open quote Hello quote parenthesis_close

Console

  • consoledotlog : console.log
  • consoledotwarn : console.warn
  • consoledoterror : console.error
  • consoledotclear : console.clear

Math

  • mathdotrandom : Math.random
  • mathdotfloor : Math.floor
  • mathdotpi : Math.PI
  • mathdotE : Math.E
  • mathdotsqrt : Math.sqrt

Submit your ideas, I'll try to code them, when I'll have the time 🎉

0.0.6

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.1

5 years ago