Skip to content

Commit

Permalink
feat: add initial documentation for language features including borro…
Browse files Browse the repository at this point in the history
…wing, classes, control flow, data types, debugging, enums, extending types, FFI, functions, inheritance, interfaces, intrinsics, macros, memory management, modules, OOP, operators, requires, testing, type system, unsafe, and variables

All the documentation is blank as of now, these are still a work in progress
  • Loading branch information
Ze7111 committed Dec 5, 2024
1 parent a523a1f commit 0e5bec3
Show file tree
Hide file tree
Showing 23 changed files with 69 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/borrow-ship.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Borrowing and Ownership
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/classes.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Classes
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/control-flow.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Control Flow
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/data-types.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Data Types
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/debugging.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Debugging
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/enums.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Enumerations
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/extending-types.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Extending Types
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/ffi.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: FFI (Foreign Function Interface)
---
4 changes: 4 additions & 0 deletions src/content/docs/docs/language/functions.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Functions
description: Functions are the building blocks of a program. They are reusable blocks of code that can be called to perform a specific task.
---
2 changes: 1 addition & 1 deletion src/content/docs/docs/language/index.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
title: What is This Section?
title: Introduction
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/inheritance.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Inheritance
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/interfaces.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Interfaces
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/intrinsics.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Intrinsics
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/macros.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Macros
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/memory-management.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Memory Management
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/modules.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Modules
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/oop.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Object-Oriented Programming
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/operators.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Operators
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/requires.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Requires (Generics/Type Bounds)
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/testing.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Testing
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/type-system.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Type System
---
4 changes: 4 additions & 0 deletions src/content/docs/docs/language/unsafe.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
title: Unsafe
description: When and how to use unsafe code in Helix.
---
3 changes: 3 additions & 0 deletions src/content/docs/docs/language/variables.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
title: Variables
---

0 comments on commit 0e5bec3

Please sign in to comment.