-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Will some Math functions and constants be added? #55
Comments
Thanks for the proposal and code example! The answer is yes! they will be, but not as part of the syntax, and instead as function calls from a standard library. So probably something like Please see also this issue for details: https://github.com/LingDong-/wenyan-lang/issues/2 Thanks! |
|
Why should this language be implemented on JavaScript?👀 It can has its own standard library. |
Following up with @AshyAzure 's comment. As the author implementing the Maybe we can import each library as a stand along object following the syntax proposed in https://github.com/LingDong-/wenyan-lang/issues/20 |
Standard lib is now supported. https://github.com/LingDong-/wenyan-lang/blob/master/lib/%E7%AE%97%E7%B6%93.wy Closing now. Feel free to reopen it if you got any questions. |
For example:
Code example:
The text was updated successfully, but these errors were encountered: