adam-mcdaniel / oakc

A portable programming language with a compact intermediate representation
Apache License 2.0
728 stars 21 forks source link

More documentation #78

Open ghost opened 4 years ago

ghost commented 4 years ago

@adam-mcdaniel

Please add more documentation for Oak.

adam-mcdaniel commented 4 years ago

I plan to as soon as possible, expect a PR very soon.

kevinramharak commented 4 years ago

I'm starting to get familiar with the code base. Any ideas on how to structure the documentation? Would be a good idea to set up some sort of skeleton so multiple people can fill the gaps

adam-mcdaniel commented 4 years ago

@kevinramharak I think we should structure it by

  1. Syntax
  2. Type system
    • Expressions
    • Constants
    • Functions
    • Structures
  3. Compiler Directives

I think this would be the most intuitive way to structure it. Start with the atomic things, like syntax, and the type system for expressions, and move up to higher level abstractions and compiler directives.

adam-mcdaniel commented 4 years ago

I have a tour.md in the works right now to lightly cover documentation until we beef up the docs a bit.