Sublime Forum

New javascript syntax definition

#1

Good day to all.

I’m trying to improve the javascript syntax def (or create it from scratch, not really sure at the moment :laughing: ). Since there is always a large gap between sandbox code on which I test the syntax and real code it would be great if you could give me some complex, crafty, cumbersome code fragments to stress-test new syntax definition.

0 Likes

#2

No one have bad javascript code? :open_mouth:

0 Likes

#3

Why don’t you just try a minimized JavaScript sample ? This could be stressful enough ^^

0 Likes

#4

Can’t get more crafty than beyond.js :astonished: :open_mouth:

But it probably breaks every lint/syntax rule!!
beyond.zip (5.72 KB)

0 Likes

#5

You may find my completions file useful in your endeavours :sunglasses:
AndyJS4.zip (9.49 KB)

0 Likes

#6

Great, thanks for ideas and some code, will report the progress as soon as I can =)

0 Likes

#7

You shouldn’t really use beyond.js as sample js - I was (kinda) joking. It probably breaks every syntax/lint rule going :open_mouth:, as I mentioned.

You could borrow my attached library code. It’s quite substantial and varied js.
AndyG.zip (11.4 KB)

0 Likes

#8

Oh, great, thanks. I already see some minor glitches in my JS definition, though its easely fixeable.

0 Likes

#9

Hopefully spelling won’t be an issue :laughing:

PS The site for beyond.js is here although it hasn’t been updated for a while. But it’s not for the faint-hearted :astonished:

0 Likes