Skip to content

Commit ef01dfc

Browse files
authored
added icons (#1101)
1 parent 1eb13cf commit ef01dfc

File tree

11 files changed

+40
-3
lines changed

11 files changed

+40
-3
lines changed

README.md

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
# nimony
22

33
Nimony is a new Nim implementation that is in heavy development. See [design.md](https://github.com/nim-lang/nimony/blob/master/doc/design.md) for the big picture.
4+
There is a [blog post](https://nim-lang.org/araq/nimony.html) about its design principles.
45

5-
The current focus is on developing a minimal compiler for a Nim dialect that offers:
6+
The current focus is on developing a compiler for a Nim dialect that offers:
67

78
- Incremental recompilations.
89
- No forward declarations for procs and types required.
9-
- Allow for explicit cyclic module dependencies.
1010
- Type-checked generics.
11+
12+
AI has created a good overview of our [compiler architecture](https://deepwiki.com/nim-lang/nimony).
13+
14+
15+
## Getting started
16+
17+
Nimony uses a tool called `hastur` to build:
18+
19+
```
20+
nim c src/hastur
21+
src/hastur build nifler
22+
src/hastur build nimony
23+
src/hastur build hexer
24+
src/hastur build nifc
25+
```
26+
27+

icons/hastur.ico

212 KB
Binary file not shown.

icons/hastur.rc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
hasturicon ICON "hastur.ico"
2+
3+

icons/hastur.res

212 KB
Binary file not shown.

icons/hastur_icon.o

212 KB
Binary file not shown.

icons/nimony.ico

244 KB
Binary file not shown.

icons/nimony.rc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
nimonyicon ICON "nimony.ico"
2+
3+

icons/nimony.res

245 KB
Binary file not shown.

icons/nimony_icon.o

245 KB
Binary file not shown.

src/hastur.nim

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
## Hastur - Tester tool for Nimony and its related subsystems (NIFC etc).
22
## (c) 2024 Andreas Rumpf
33

4+
when defined(windows):
5+
when defined(gcc):
6+
when defined(x86):
7+
{.link: "../icons/hastur.res".}
8+
else:
9+
{.link: "../icons/hastur_icon.o".}
10+
411
import std / [syncio, assertions, parseopt, strutils, times, os, osproc, algorithm]
512

613
import lib / [nifindexes, lineinfos]

0 commit comments

Comments
 (0)