pikelet-lang / pikelet

A friendly little systems language with first-class types. Very WIP! 🚧 🚧 🚧
https://pikelet-lang.github.io/pikelet/
Apache License 2.0
610 stars 26 forks source link

Split Pikelet up into subcrates and add VS Code extension #172

Closed brendanzab closed 5 years ago

brendanzab commented 5 years ago

This begins our work on #97.

As part of this change, based on what I've been seeing in Gluon, Argon, Lark, and rust-analyzer, I've begun to break up Pikelet into separate crates. The new directory structure looks like this:

.
├── assets
├── book
├── crates
│   ├── pikelet
│   ├── pikelet-driver
│   ├── pikelet-elaborate
│   ├── pikelet-language-server
│   ├── pikelet-library
│   ├── pikelet-repl
│   └── pikelet-syntax
├── editors
│   └── code
└── tools

This should give us the following benefits:

The downsides are:

I've made a subdirectory for editors, as it will give us some incentive to add some more, on top of just VS Code!

brendanzab commented 5 years ago

Sooo, the plugin keeps crashing, but oh well! Thinking I'll just merge this for now. It's a bit of a shake up, so it'd be nice to do this sooner rather than later.