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

Cannot make「言序數」function work #488

Closed
1 of 2 tasks
kaiyuan01 opened this issue Jan 4, 2020 · 4 comments
Closed
1 of 2 tasks

Cannot make「言序數」function work #488

kaiyuan01 opened this issue Jan 4, 2020 · 4 comments
Labels
confusion A question or confusion

Comments

@kaiyuan01
Copy link
Contributor

kaiyuan01 commented Jan 4, 2020

Describe your issue/suggestions

The following snippet did not work somehow, any thoughts?

吾嘗觀「「曆法」」之書。方悟「言序數」之義。

施「言序數」於十。書之。

I did not see anything came out either, at https://wenyan-snippets.glitch.me/api?id=23, or http://wenyan-lang.lingdong.works/ide.html

Checklist

Before you create this issue, Please make sure ALL the following items are checked

  • If this is a feature request, it's NOT listed Here
  • If this is a bug report, it's NOT listed Here
@kaiyuan01 kaiyuan01 reopened this Jan 4, 2020
@kaiyuan01
Copy link
Contributor Author

My local runtime threw:

calendar:
TypeError: 言序數 is not a function
at eval (eval at (src/parser.js:826:9), :1:49636)
at /workspace/wenyan-lang/src/parser.js:826:9
at evalCompiled (src/parser.js:833:5)
at runExample (test/examples.calendar.test.js:55:3)
at Context.it (test/examples.calendar.test.js:75:24)
at Test.Runnable.run (node_modules/mocha-snapshots/src/index.js:19:22)

  1. examples
    romanizeIdentifiers
    calendar:
    TypeError: YAN2XU4SHU4 is not a function
    at eval (eval at (src/parser.js:826:9), :1:65749)
    at /workspace/wenyan-lang/src/parser.js:826:9
    at evalCompiled (src/parser.js:833:5)
    at runExample (test/examples.calendar.test.js:55:3)
    at Context.it (test/examples.calendar.test.js:75:24)
    at Test.Runnable.run (node_modules/mocha-snapshots/src/index.js:19:22)

@kaiyuan01
Copy link
Contributor Author

kaiyuan01 commented Jan 5, 2020

Similar errors can be found here for function '言百內數': https://github.com/LingDong-/wenyan-lang/pull/487

@statementreply

@statementreply
Copy link
Contributor

These are internal functions not exported from the module (吾有一術), so they can't be imported with 吾嘗觀...之書。方悟...之義。.

@LingDong- LingDong- added the confusion A question or confusion label Jan 5, 2020
@kaiyuan01
Copy link
Contributor Author

My bad, I missed that. Thanks.

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

No branches or pull requests

3 participants