Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Keywords #5

Open
b3nten opened this issue Aug 12, 2022 · 5 comments · Fixed by #8
Open

RFC: Keywords #5

b3nten opened this issue Aug 12, 2022 · 5 comments · Fixed by #8

Comments

@b3nten
Copy link
Member

b3nten commented Aug 12, 2022

This is the place to discuss replacing JS keywords with superior GruLang syntax. I'm sure I missed some...

Mostly finalized

These are things that probably won't change unless you really feel strongly about it.

  • function -> finna
  • true -> nocap
  • false -> cap
  • try -> bet
  • catch -> sus
  • finally -> ong
  • error -> oof
  • throw -> yeet
  • await -> holUp
  • switch -> thisguy
  • case -> lookin (postfix, ex: 'boujee' lookin:)
  • break -> byefelicia

Not quite finalized, should probably discuss further

  • if -> fr
  • else -> lowkey
  • break -> dead
  • class -> SEGFAULT(OKBOOMER)
  • delete -> smash
  • new -> fresh

No current ideas

  • break
  • case
  • const
  • continue
  • debugger
  • default
  • delete
  • do
  • enum
  • export
  • extends
  • for
  • implements
  • import
  • in
  • instanceof
  • interface
  • let
  • null
  • package
  • private
  • protected
  • public
  • return
  • super
  • switch
  • static
  • this
  • typeof
  • var
  • void
  • while
  • with
  • yield
@nateemerson
Copy link
Contributor

Basics in #8 but we should keep this open to discuss & iterate. Good reopen @b3nten

@nateemerson
Copy link
Contributor

nateemerson commented Aug 12, 2022

More recommendations:

  • continue -> letsgo
  • null -> oop
  • await -> bussin (yield?)
  • return -> gg
  • const -> fax

Credit to #GruLang in Theo's disc

@PiotrekPKP
Copy link

Another recommendation from GruGang:
be -> assignment
do be -> equality

@pcnbj
Copy link

pcnbj commented Aug 12, 2022

? :
W L
const ternary = x do be 10 W nocap L cap

@stoykotolev
Copy link

switch -> bamboozled
await -> holUp
super -> chad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants