Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Jul 29, 2023
1 parent 5aeda09 commit e604564
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions docs/notes/design-of-new-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,7 @@ author: Xie Yuheng
date: 2023-07-27
---

# Intro

First of all, What we need to express?
What aspects (features, relations) we need to use syntax to distinguish?

Is design of syntax like design of graphic,
where we give many choices and compare them?

# Examples

## Nat
# Nat

Use `defnode` to define a node.

Expand Down Expand Up @@ -79,7 +69,7 @@ defnet four
end
```

## List
# List

We use a simple type system like Haskell (for now).

Expand Down Expand Up @@ -126,7 +116,7 @@ defnet six_soles
end
```

## DiffList
# DiffList

```inet
defnode diff
Expand Down

0 comments on commit e604564

Please sign in to comment.