docs(web): migrate language-spec,lang-version,value-pointer-equality

Change-Id: I2008d4d5d92dc02f3955828ba93f748282948f07
Reviewed-on: https://cl.snix.dev/c/snix/+/30447
Autosubmit: Florian Klink <flokli@flokli.de>
Reviewed-by: Vova Kryachko <v.kryachko@gmail.com>
Tested-by: besadii
This commit is contained in:
Florian Klink 2025-05-04 19:34:17 +03:00 committed by clbot
parent 52e7b5b485
commit 21628f7ad4
5 changed files with 49 additions and 13 deletions

View file

@ -21,8 +21,3 @@
- [Store API](./store/api.md)
- [BlobStore Chunking](./castore/blobstore-chunking.md)
- [BlobStore Protocol](./castore/blobstore-protocol.md)
# Nix
- [Specification of the Nix Language](./language-spec.md)
- [Nix language version history](./lang-version.md)
- [Value Pointer Equality](./value-pointer-equality.md)

View file

@ -0,0 +1,11 @@
---
title: Nix Language
slug: nix-language
description: ""
summary: ""
date: 2025-05-01T13:10:37+02:00
lastmod: 2025-05-01T13:10:37+02:00
draft: false
weight: 50
toc: true
---

View file

@ -1,4 +1,14 @@
# Nix language version history
---
title: Version history
slug: lang-version
description: ""
summary: ""
date: 2025-05-01T13:10:37+02:00
lastmod: 2025-05-01T13:10:37+02:00
draft: false
weight: 50
toc: false
---
The Nix language (“Nix”) has its own versioning mechanism independent from its
most popular implementation (“C++ Nix”): `builtins.langVersion`. It has been

View file

@ -1,10 +1,20 @@
# Specification of the Nix Language
---
title: Specification of the Nix Language
slug: language-spec
description: ""
summary: ""
date: 2025-05-01T13:10:37+02:00
lastmod: 2025-05-01T13:10:37+02:00
draft: false
weight: 50
toc: false
---
```admonish attention
{{< callout context="caution" title="Caution" icon="outline/alert-triangle" >}}
This document is a work in progress. Please keep an eye on
[`topic:nix-spec`](https://cl.tvl.fyi/q/topic:nix-spec) for ongoing
[`topic:nix-spec`](https://cl.snix.dev/q/topic:nix-spec) for ongoing
CLs.
```
{{</callout>}}
Nix is a general-purpose, functional programming language which this
document aims to describe.

View file

@ -1,4 +1,14 @@
# Value Pointer Equality in Nix
---
title: Value Pointer Equality
slug: value-pointer-equality
description: ""
summary: ""
date: 2025-05-01T13:10:37+02:00
lastmod: 2025-05-01T13:10:37+02:00
draft: false
weight: 55
toc: false
---
## Introduction
@ -47,10 +57,10 @@ works in C++ Nix, the only production ready Nix implementation currently availab
## Nix (Pointer) Equality in C++ Nix
```admonish info
{{< callout context="note" title="Note" icon="outline/info-circle" >}}
The summary presented here is up-to-date as of 2023-06-27 and was tested with
Nix 2.3, 2.11 and 2.15.
```
{{</callout>}}
### `EvalState::eqValues` and `ExprOpEq::eval`