jamiebuilds / ghost-lang

:ghost: A friendly little language for you and me.
302 stars 10 forks source link

Compiler #11

Closed SCKelemen closed 5 years ago

SCKelemen commented 6 years ago

You've mentioned you're interested in targeting wasm. Are you looking to write a compiler, and if so are you looking for help?

jamiebuilds commented 6 years ago

I have 1-2 months off before I start my next job, I think I'm going to try getting a compiler working in that time (although no way it supports everything I have spec'd out so far).

I mostly want to do this as a challenge to myself. If it ends up going somewhere I'm happy to turn it into a real project and invite others to come work on it.

SCKelemen commented 6 years ago

Do you know in which language you'll write the first implementation?

jamiebuilds commented 6 years ago

lol, probably JavaScript to get something working because I'm already so productive in it.

There's a lot of details to be worked out in Ghost so if it ends up being a real thing then I'll probably toss out my initial implementation in favor of Rust or something.

mpourismaiel commented 6 years ago

I'm really interested to have this as a Webpack loader. Maybe with the compiler we would have the opportunity to have that. This would make coding for frontend a bit less of a hassle. WASM could be of use but still legacy support is something to think about. Hope something great comes of this. Good luck. And if you need any help, count me in.

SCKelemen commented 6 years ago

Yeah, I'd be interested in helping but most of the compilers and runtimes I have worked on have been written in C++, C#, Go, and Pony. Would you only be targeting WASM, or would you want to support other architectures, too?

jamiebuilds commented 6 years ago

I expect Wasm to propogate to a lot of different systems over the next few years. I think it's the only one worth targeting with a new language like this

motss commented 6 years ago

It's going to be an interesting project. Let me know if any help is needed.

itsdarrylnorris commented 6 years ago

Same as @motss .

I will be highly interested in helping out on this project.

kayandra commented 5 years ago

I don't know much about compiler development, but I'm willing to learn Rust and how to build compilers just to work on this.

nevzatseferoglu commented 5 years ago

I am also interested in building compiler.Please share tutorial that you find to improve in this field

MH15 commented 5 years ago

Interested in helping.