mirror of
https://github.com/hi-language/hi-language.github.io.git
synced 2026-01-13 16:18:04 +00:00
Revert: Update index.html
This commit is contained in:
@@ -94,8 +94,8 @@ version: 1.0 // Declaration and initialization
|
||||
version = 1.1 // Assignment
|
||||
\`\`\`
|
||||
|
||||
## The Block: The Core Construct
|
||||
Every Hi file is an implicit **Block** (\`{}\`). It is the language's universal construct, unifying scopes, data structures (objects), and executable code (functions). A block is a sequence of expressions that can hold data or be invoked with \`()\`.
|
||||
## The Block: Unifying Objects and Functions
|
||||
The **Block** (\`{}\`) is Hi's foundational structure, unifying data objects and executable functions. It is a sequence of expressions that can be invoked with \`()\`.
|
||||
|
||||
### As a Data Structure (Object)
|
||||
A block can hold \`key: value\` pairs. A \`#\` prefix denotes a private property.
|
||||
@@ -280,3 +280,4 @@ For inquiries, you can reach the development team at the following address:
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user