Skip to content
This repository has been archived by the owner on Feb 16, 2021. It is now read-only.

C Language AST #9

Closed
wnayes opened this issue Oct 13, 2019 · 2 comments
Closed

C Language AST #9

wnayes opened this issue Oct 13, 2019 · 2 comments
Labels
🧘 status/waiting This may go somewhere but needs more information 💬 type/discussion This is a request for comments

Comments

@wnayes
Copy link

wnayes commented Oct 13, 2019

I'm interested in doing some C Language parsing / transformations / compilation within a browser environment. I was curious if the unified js ecosystem would be a good fit, to tie into something standardized instead of doing ad hoc development.

If I'm understanding the current ecosystem, C might fit in as:

  • cast: Specification for a C AST in unist format.
  • rec: C processor
    • rec-parse: Parse C files into syntax trees
  • cast-to-x86: A utility to compile a C AST into an assembly language. (Example of something related to compilation. Maybe it would be more flexible to have another AST for x86 in this example, instead of directly going from C AST to assembly instructions?)
@wnayes wnayes added 🙉 open/needs-info This needs some more info 🦋 type/enhancement This is great to have labels Oct 13, 2019
@wooorm
Copy link
Member

wooorm commented Oct 13, 2019

@wooorm wooorm added 💬 type/discussion This is a request for comments 🧘 status/waiting This may go somewhere but needs more information and removed 🙉 open/needs-info This needs some more info 🦋 type/enhancement This is great to have labels Nov 29, 2020
@ChristianMurphy
Copy link
Member

Thanks for starting the discussion @wnayes!
We're in the process unifying ideas in with discussions unifiedjs/collective#44
If you'd like to continue this thread, or start a new one https://github.com/syntax-tree/unist/discussions/categories/ideas will be the home for ideas going forward.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🧘 status/waiting This may go somewhere but needs more information 💬 type/discussion This is a request for comments
Development

No branches or pull requests

3 participants