PLC-lang / rusty

Structured Text Parser and LLVM Frontend
GNU Lesser General Public License v3.0
194 stars 53 forks source link

Project structure #830

Open volsa opened 1 year ago

volsa commented 1 year ago

Tracking issue for cargo workspaces, which we've already discussed internally. As a starting point something like the following seems fine?

This will bloat up the repository itself, so maybe we can pack these workspaces into a crates folder, such that the current structure of the project looks like:

book/
crates/
examples/
scripts/
README.md
...

Feedback welcome :)

Edit: It would be cool to check how the build times have changed, once all listed workspaces have been implemented.

ghaith commented 1 year ago

the repo is called rusty, so can drop the name from the subsequent folders maybe? I like the crates idea, and the top level would initially include things that have not been moved yet. Eventually it would be empty

ghaith commented 1 year ago

One more thing, the first workspace element is the Standard functions i guess :) there is an issue for that.

volsa commented 1 year ago

the repo is called rusty, so can drop the name from the subsequent folders maybe?

I think the naming prefix is the de facto standard, i.e. many popular projects use them; see

One more thing, the first workspace element is the Standard functions i guess :) there is an issue for that.

Thanks, totally forgot them. This should be the corresponding issue https://github.com/PLC-lang/StandardFunctions/issues/80