Skip to content

Commit

Permalink
Minor edits, fix Declaration::read_only
Browse files Browse the repository at this point in the history
  • Loading branch information
VonTum committed Apr 10, 2024
1 parent d693030 commit 9bc48ad
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 167 deletions.
4 changes: 4 additions & 0 deletions philosophy/design_decisions.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ always have proper names to point to.

In other words: Why `int x = 5` instead of `let x : int = 5`?

There's two reasons for this:
- In hardware design, the types of wires should always be visible. Especially with SUS' "you-get-what-you-see" philosophy, the type of a variable tells you how many wires it is comprised of. This has real impacts on the considerations designers make when designing hardware.
- Hardware types tend to be simple, therefore small, and therefore it's not a huge cost to force the programmer to write them out, always.

### Why bounded integers instead of bitvectors?

### Why use tree-sitter as the compiler frontend?
Expand Down
Loading

0 comments on commit 9bc48ad

Please sign in to comment.