Skip to content

Commit

Permalink
Update Levels.md to include new status of the compiler checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddie Poser committed Nov 6, 2015
1 parent 0e8b33a commit 60d9f41
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions Docs/Kernel/Levels.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,17 @@ flexibility.

### Future

Currently only the structure exists, no checking occurs but in the future will
occur via attributes and other methods. Future checks to include:
Currently only basic checking is implemented into the compiler. This means that some restrictions are implemented whilst some must be checked manually.

1. Restriction of core level exclusive abilities at the assembly level by attribute.
2. Restriction of references list to higher levels only. ie HAL can reference Core
Currently only this is implemented:

* Restriction of references list to higher levels only. ie HAL can reference Core
but not vice versa. Also via attribute. That is an assembly level attribute to mark which level an assembly is.
3. Restrict access to BCL and other assemblies. ie Core should never need XML

In the future both of these will also be implemented:

1. Restriction of core level exclusive abilities at the assembly level by attribute.
2. Restrict access to BCL and other assemblies. ie Core should never need XML
or other higher level services. Make a defined list of what is allowed and verify against it.

For now we must be vigilant to watch these restrictions manually.
Expand Down

0 comments on commit 60d9f41

Please sign in to comment.