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

Add C-like preprocessor directives to .gsx extension. #187

Open
T-Maxxx opened this issue Sep 21, 2017 · 5 comments
Open

Add C-like preprocessor directives to .gsx extension. #187

T-Maxxx opened this issue Sep 21, 2017 · 5 comments

Comments

@T-Maxxx
Copy link
Contributor

T-Maxxx commented Sep 21, 2017

... as mentioned in PR #186
I think it's a good idea to add some simple preprocessor directives for conditional compiling, "#define" for symbols (+ macro).

@MichaelHillcox
Copy link

Support for a foreach would also be nice if you looking at adding more functionality to gsc

@T-Maxxx
Copy link
Contributor Author

T-Maxxx commented Oct 2, 2017

Right now the script compiling routine is a bunch of inlined functions, almost completely unreadable. Some keywords like for, if, thread, self are sitting here and this is the place where foreach must be put. Doing something with script before compiling much easier as you can see in PR's code.

@D4edalus
Copy link
Contributor

why this is still open: #186 (comment)

@T-Maxxx
Copy link
Contributor Author

T-Maxxx commented Nov 16, 2017

Because it was opened after #186 and I will try to do something later.

@D4edalus
Copy link
Contributor

there was no question, it was a clarification

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

No branches or pull requests

3 participants