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

Implement parser and typescript code generator #5

Merged
merged 10 commits into from
Jan 19, 2024
Merged

Conversation

osipov-mit
Copy link
Member

No description provided.

@NikVolf
Copy link
Member

NikVolf commented Dec 5, 2023

I would've called directory js, sails-js is redundant

js/src/generate/service-gen.ts Outdated Show resolved Hide resolved
Copy link
Member

@DennisInSky DennisInSky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've left some comments along the code, but actually the main comment is that didn't we want to have our parser to be a wasm allowing it to be re-used from other languages? As such wouldn't it be better to use rust for implementing it then? I checked candid and they use logos as lexer in conjunction with larlpop as parser for building AST
@NikVolf , @osipov-mit

.gitignore Show resolved Hide resolved
.github/workflows/sails-js.yaml Outdated Show resolved Hide resolved
.github/workflows/sails-js.yaml Outdated Show resolved Hide resolved
js/.gitignore Outdated Show resolved Hide resolved
.github/workflows/sails-js.yaml Outdated Show resolved Hide resolved
@osipov-mit osipov-mit merged commit cd0277c into master Jan 19, 2024
3 checks passed
@osipov-mit osipov-mit deleted the do-sails-js branch January 19, 2024 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants