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

EEL2 syntax is incomplete #3

Open
8 of 60 tasks
jalovatt opened this issue Feb 17, 2019 · 0 comments
Open
8 of 60 tasks

EEL2 syntax is incomplete #3

jalovatt opened this issue Feb 17, 2019 · 0 comments

Comments

@jalovatt
Copy link
Owner

Thanks to ThrashJazzAssassin for making this list.

These are the colors as displayed in Reaper's JSFX editor; obviously they won't be the same in VS Code. Some comparison with the syntax files for C++ or something similar might be helpful for figuring out what syntax tags to use.

Dark Blue

  • Comments

Cyan

Blue

  • function
  • local
  • loop
  • this.
  • instance
  • globals

Green

  • numbers e.g. 1024✔

Pink

  • strings

Yellow

  • function declarations
  • declared function calls

Bold yellow

  • built-in function calls:
  • midirecv
  • midisend
  • memset
  • gfx_blitext
  • gfx_getpixel
  • gfx_rectto
  • gfx_printf
  • gfx_set
  • gfx_setfont
  • floor
  • gfx_drawnumber
  • gfx_drawchar
  • gfx_lineto
  • gfx_rectto
  • min
  • max
  • abs

Red

Built-in variables (reserved):

  • mouse_cap
  • mouse_x
  • mouse_y
  • mouse_wheel
  • ext_noinit
  • beat_position
  • ts_num
  • play_state
  • srate
  • gfx_h
  • gfx_x
  • gfx_y
  • gfx_a
  • gfx_g
  • gfx_b
  • gfx_r
  • gfx_w

Original post here

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

No branches or pull requests

1 participant