Skip to content

Commit 27487f8

Browse files
authored
Merge pull request #820 from smucclaw/thomasgorissen/documentation-v2
feat(documentation): Badges & Licenses
2 parents 1498f6a + 4dfb645 commit 27487f8

File tree

12 files changed

+43
-39
lines changed

12 files changed

+43
-39
lines changed

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Coding guidelines for AI agents working in this repository.
4242
| ------------- | ------------------------------------------------------------------- |
4343
| `doc/` | L4 language documentation (reference, courses, tutorials, concepts) |
4444
| `specs/` | Development specifications (todo, done, proposals, roadmap) |
45-
| `*/README.md` | Component-specific setup and usage |
45+
| `*/README.md` | Component-specific setup and usage for developers |
4646

4747
## Essential Commands
4848

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Coding guidelines for AI agents working in this repository.
4242
| ------------- | ------------------------------------------------------------------- |
4343
| `doc/` | L4 language documentation (reference, courses, tutorials, concepts) |
4444
| `specs/` | Development specifications (todo, done, proposals, roadmap) |
45-
| `*/README.md` | Component-specific setup and usage |
45+
| `*/README.md` | Component-specific setup and usage for developers |
4646

4747
## Essential Commands
4848

doc/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Welcome to the L4 language documentation. L4 is a domain-specific language for l
1010

1111
New to L4? Start here:
1212

13-
1. **[Get L4](https://marketplace.visualstudio.com/items?itemName=Legalese.l4-vscode)** - Download the VS Code extension or [code online](https://jl4.legalese.com)
13+
1. **[Get L4](https://marketplace.visualstudio.com/items?itemName=Legalese.l4-vscode)** - Download the VS Code extension [![L4 Rules-as-code](https://img.shields.io/visual-studio-marketplace/v/Legalese.l4-vscode?color=blue&logo=visualstudiocode&logoColor=white&label=L4%20Rules-as-code)](https://marketplace.visualstudio.com/items?itemName=Legalese.l4-vscode)
1414
2. **[Foundation Course](courses/foundation/README.md)** - Learn L4 systematically (start here!)
1515
3. **[Your First L4 File](tutorials/getting-started/first-l4-file.md)** - Hands-on in 15 minutes
1616

@@ -115,8 +115,11 @@ Understand the "why" behind L4:
115115

116116
---
117117

118-
## More Resources
118+
## Developer Resources
119119

120-
- **[L4 IDE Repository](https://github.com/smucclaw/l4-ide)** - Source code
121-
- **[Example Code](https://github.com/smucclaw/l4-ide/tree/main/jl4/examples)** - Working examples
122-
- **[Experiments](https://github.com/smucclaw/l4-ide/tree/main/jl4/experiments)** - Real-world encodings
120+
- **[Latest Stable Build](https://github.com/smucclaw/l4-ide/releases)** - [![L4-IDE](https://img.shields.io/github/v/release/smucclaw/l4-ide?color=brightgreen&logo=github&label=L4-IDE)](https://github.com/smucclaw/l4-ide/releases/latest)
121+
- **[L4 IDE Repository](https://github.com/smucclaw/l4-ide)** - Open-Source code
122+
123+
---
124+
125+
L4 is published under the [Apache-2.0 License](https://github.com/smucclaw/l4-ide/blob/main/LICENSE).

doc/SUMMARY.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,12 @@
77

88
- [Reference Home](reference/README.md)
99
- [Types](reference/types/README.md)
10-
- [Coercions](reference/types/coercions.md)
1110
- [Functions](reference/functions/README.md)
1211
- [Control-Flow](reference/control-flow/README.md)
13-
- [Comparisons](reference/comparisons/README.md)
14-
- [Arithmetic]reference/(arithmetic/README.md)
1512
- [Operators](reference/operators/README.md)
1613
- [Syntax](reference/syntax/README.md)
14+
- [Coercions](reference/types/coercions.md)
15+
- [Regulative](reference/regulative/README.md)
1716
- [Built-ins](reference/builtins/README.md)
1817
- [Libraries](reference/libraries/README.md)
1918

doc/reference/GLOSSARY.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ Keywords are reserved words that form the structure of L4 programs.
4949

5050
| Keyword | Purpose | Reference |
5151
| ----------- | --------------------------- | ------------------------------------ |
52-
| **ABOVE** | Synonym for GREATER THAN | [COMPARISONS](comparisons/README.md) |
53-
| **BELOW** | Synonym for LESS THAN | [COMPARISONS](comparisons/README.md) |
54-
| **EQUALS** | Equality test | [COMPARISONS](comparisons/README.md) |
55-
| **GREATER** | Greater than comparison | [COMPARISONS](comparisons/README.md) |
56-
| **LESS** | Less than comparison | [COMPARISONS](comparisons/README.md) |
57-
| **THAN** | Comparison conjunction word | [COMPARISONS](comparisons/README.md) |
58-
| **LEAST** | Used in "AT LEAST" (≥) | [COMPARISONS](comparisons/README.md) |
59-
| **MOST** | Used in "AT MOST" (≤) | [COMPARISONS](comparisons/README.md) |
52+
| **ABOVE** | Synonym for GREATER THAN | [COMPARISONS](operators/comparisons/README.md) |
53+
| **BELOW** | Synonym for LESS THAN | [COMPARISONS](operators/comparisons/README.md) |
54+
| **EQUALS** | Equality test | [COMPARISONS](operators/comparisons/README.md) |
55+
| **GREATER** | Greater than comparison | [COMPARISONS](operators/comparisons/README.md) |
56+
| **LESS** | Less than comparison | [COMPARISONS](operators/comparisons/README.md) |
57+
| **THAN** | Comparison conjunction word | [COMPARISONS](operators/comparisons/README.md) |
58+
| **LEAST** | Used in "AT LEAST" (≥) | [COMPARISONS](operators/comparisons/README.md) |
59+
| **MOST** | Used in "AT MOST" (≤) | [COMPARISONS](operators/comparisons/README.md) |
6060

6161
### Type Keywords
6262

@@ -99,12 +99,12 @@ For expressing legal obligations, permissions, and prohibitions.
9999

100100
| Keyword | Purpose | Reference |
101101
| ----------- | ------------------------- | ---------------------------------- |
102-
| **PLUS** | Addition | [ARITHMETIC](arithmetic/README.md) |
103-
| **MINUS** | Subtraction | [ARITHMETIC](arithmetic/README.md) |
104-
| **TIMES** | Multiplication | [ARITHMETIC](arithmetic/README.md) |
105-
| **DIVIDED** | Division (use with BY) | [ARITHMETIC](arithmetic/README.md) |
106-
| **BY** | Division conjunction word | [ARITHMETIC](arithmetic/README.md) |
107-
| **MODULO** | Modulus (remainder) | [ARITHMETIC](arithmetic/README.md) |
102+
| **PLUS** | Addition | [ARITHMETIC](operators/arithmetic/README.md) |
103+
| **MINUS** | Subtraction | [ARITHMETIC](operators/arithmetic/README.md) |
104+
| **TIMES** | Multiplication | [ARITHMETIC](operators/arithmetic/README.md) |
105+
| **DIVIDED** | Division (use with BY) | [ARITHMETIC](operators/arithmetic/README.md) |
106+
| **BY** | Division conjunction word | [ARITHMETIC](operators/arithmetic/README.md) |
107+
| **MODULO** | Modulus (remainder) | [ARITHMETIC](operators/arithmetic/README.md) |
108108

109109
### Other Keywords
110110

doc/reference/SUMMARY.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
## Language Details
1212

1313
- [Control-Flow](control-flow/README.md)
14-
- [Comparisons](comparisons/README.md)
15-
- [Arithmetic](arithmetic/README.md)
1614
- [Operators](operators/README.md)
1715
- [Syntax](syntax/README.md)
1816
- [Coercions](types/coercions.md)

doc/reference/operators/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ L4 operators are organized into categories:
1919

2020
Mathematical operations on numbers.
2121

22+
[Details and examples on arithmetic operators](arithmetic/README.md)
23+
2224
### Addition
2325

2426
- **Keyword:** PLUS
@@ -61,6 +63,8 @@ Mathematical operations on numbers.
6163

6264
Compare values and return BOOLEAN results.
6365

66+
[Details and examples on comparison operators](comparisons/README.md)
67+
6468
### Equality
6569

6670
- **Keyword:** EQUALS

doc/reference/arithmetic/README.md renamed to doc/reference/operators/arithmetic/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,15 +150,15 @@ IMPORT math
150150
#EVAL exp 1 -- 2.718...
151151
```
152152

153-
See **[Libraries Reference](../libraries/README.md)** for more functions.
153+
See **[Libraries Reference](../../libraries/README.md)** for more functions.
154154

155155
## Related Keywords
156156

157157
- **[COMPARISONS](../comparisons/README.md)** - Compare arithmetic results
158-
- **[IF](../control-flow/IF.md)** - Conditional arithmetic
158+
- **[IF](../../control-flow/IF.md)** - Conditional arithmetic
159159

160160
## See Also
161161

162-
- **[Operators Reference](../operators/README.md)** - Full operator documentation
163-
- **[Types: NUMBER](../types/README.md)** - Numeric types
164-
- **[Syntax: Precedence](../syntax/README.md)** - Operator precedence rules
162+
- **[Operators Reference](../README.md)** - Full operator documentation
163+
- **[Types: NUMBER](../../types/README.md)** - Numeric types
164+
- **[Syntax: Precedence](../../syntax/README.md)** - Operator precedence rules
File renamed without changes.

doc/reference/comparisons/README.md renamed to doc/reference/operators/comparisons/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ Comparisons work on:
119119

120120
## Related Keywords
121121

122-
- **[AND](../operators/AND.md)** - Combine comparisons
123-
- **[OR](../operators/OR.md)** - Alternative conditions
124-
- **[IF](../control-flow/IF.md)** - Use comparisons in conditionals
122+
- **[AND](../AND.md)** - Combine comparisons
123+
- **[OR](../OR.md)** - Alternative conditions
124+
- **[IF](../../control-flow/IF.md)** - Use comparisons in conditionals
125125

126126
## See Also
127127

128-
- **[Operators Reference](../operators/README.md)** - Full operator documentation
129-
- **[Types Reference](../types/README.md)** - Comparable types
128+
- **[Operators Reference](../README.md)** - Full operator documentation
129+
- **[Types Reference](../../types/README.md)** - Comparable types

0 commit comments

Comments
 (0)