-
-
Notifications
You must be signed in to change notification settings - Fork 2
new in-code docs parser #1322
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
new in-code docs parser #1322
Conversation
"Killed" sounds like an infinite loop or infinite recursion. |
I think infinite recursion would have caused a signal that is captirable by the debugger |
actually maybe it was OOM? |
If an infinite loop happens, then often times there will be allocations with no GC, leading to OOM. |
I don't think the infinite loop is in my code tho |
Yes, possibly. Let me read code for a bit to see what is happening. |
It isn't making it past parse. Idk what is going on yet, but it stops there. |
I understand the desire to get rid of this. But we first need to get rid of code that references this. This is an infinite loop because it won't consume these tokens. |
I rearranged the DocMeta ast nodes into normal ast nodes. Benefits of using normal AST App/Var/Lit nodes:
|
a2db6f4
this does not work currently, and I do not know why. It parses documentation correctly, but after some time (during typechecking and maybe lowering), it just exits with
Killed
, and no error signal or anything. I think it might be related to the newly added AST nodes.Please help
doc syntax
this should probably be moved to the lsts lang ref
the expected AST for the above:
TODO
<print(U64)>
Checklist before requesting a review