Output of the parsed json? #5604
BarbWire-1
started this conversation in
Ideas
Replies: 2 comments
-
Ace does not parse javascript, it uses only a basic tokenizer to highlight the code. If you are using ace-linters, you could use typescript compiler from it, but it runs in a web worker so might require restructuring your code. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the quick response!
I'll take a look at ace-linters then.
Harutyun Amirjanyan ***@***.***> schrieb am Di., 2. Juli
2024, 09:11:
… Ace does not parse javascript, it uses only a basic tokenizer to highlight
the code.
If you are using ace-linters <https://github.com/mkslanc/ace-linters>,
you could use typescript compiler from it, but it runs in a web worker so
might require restructuring your code.
—
Reply to this email directly, view it on GitHub
<#5604 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQCNRDYSHYFKXOXJ2RRVAIDZKJHCBAVCNFSM6AAAAABKG42GEGVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSMZSHEZTM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on a kind of code explorer/debugger for algorithms from user input. I started with using acron for parsing the code to interpret it.
Now implemented ace - initially for code-highlighting.
I wonder whether there is an accessible json from the parsed code-strucure in ace instead?
(Holding infos of the code-nodes)
Beta Was this translation helpful? Give feedback.
All reactions