Skip to content

Commit

Permalink
feat(spec)
Browse files Browse the repository at this point in the history
  • Loading branch information
emil14 committed Mar 2, 2024
1 parent 98ac735 commit a8dec87
Show file tree
Hide file tree
Showing 34 changed files with 964 additions and 386 deletions.
2 changes: 1 addition & 1 deletion content/docs/directives/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Compiler directives
weight: 5
weight: 4
---

Compiler directives are special instructions for compiler.
Expand Down
13 changes: 13 additions & 0 deletions content/docs/spec/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Language Specification
weight: 5
---

This is the Language Specification section. It consists of a collection of documents, each detailing a specific part of the language.

In the "Source Code" section, you will find descriptions of high-level abstractions that users interact with. These are the inputs for the compiler.

The "Type-System" section provides an in-depth explanation of how the type-system works. This is arguably the most complex part of a compiler's analyzer. It details the different types available and the rules they adhere to.

Lastly, the "Runtime" section provides insights into how a Nevalang program is executed under the hood. This section is crucial for understanding the operational aspects of the language.

140 changes: 0 additions & 140 deletions content/docs/spec/index.md

This file was deleted.

6 changes: 6 additions & 0 deletions content/docs/spec/runtime/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Runtime
weight: 3
---

WIP
Loading

0 comments on commit a8dec87

Please sign in to comment.