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

Change lib and how codes are compiled #11

Closed
nguyenphuminh opened this issue Aug 4, 2021 · 0 comments
Closed

Change lib and how codes are compiled #11

nguyenphuminh opened this issue Aug 4, 2021 · 0 comments

Comments

@nguyenphuminh
Copy link
Member

Is your feature request related to a problem? Please describe.

  1. import[] is unnecessary, and it will generate a bunch of files even though they might never be used.
  2. Many commands that are now dependent to import[] should not be anymore for the same reason as above, and it's also fairly slow since they're called like a function
  3. Many commands will not work if being put in a same line:
    Example:
    if[] something == something cnd[] "a" "b" "c" "d"
    will not work

Describe the solution you'd like
The key in solving these problems are a file called libgen.bat. This file will generate codes for commands.

  1. Make import[] optional.
  2. Make commands independent and use libgen.bat to generate libs into a file like before. Also, the codes should be in a parenthesized block to gain more performance. And there will be an option on whether you want to use commands as functions or just compiling them to normal codes.
  3. The codes should be in a parenthesized block so that the one line codes will work. Also, the compiler should be remade.

Describe alternatives you've considered
There are no alternatives.

@nguyenphuminh nguyenphuminh pinned this issue Aug 4, 2021
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