Skip to content

Commit

Permalink
🔖 v0.4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
AlephAlpha committed Jul 10, 2023
1 parent d0975c0 commit 51aca42
Show file tree
Hide file tree
Showing 14 changed files with 242 additions and 68 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
# Revision history for Nekomata

## 0.4.0.0 -- Unreleased
## 0.4.0.0 -- 2023-07-10

* The language is still incomplete. The code page isn't filled yet. Everything is subject to change.
* New built-in function: `\absDiff`, `\count`, `\digits`, `\div2`, `\divisors`, `\interleave`, `\isNonnegative`, `\isUnique`, `\mod2`, `\mul2`, `\powOf2`.
* New particle: `\firstInt`.

### Breaking changes

* Some list functions are now overloaded to work on numbers. When they are used on numbers, they are applied to the range from 0 to the number - 1. These functions are: `\anyOf`, `\deinterleave`, `\extract`, `\permutation`, `\prefix`, `\reverse`, `\rotate`, `\setPartition`, `\split`, `\subsequence`, `\subset`, `\suffix`, `\unconcat`.
* `\convolve` is also overloaded to work on numbers. When one of the arguments is a number, it simply multiplies the other argument by that number.
* Some list functions are now overloaded to work on numbers. When they are used on numbers, they are applied to the range from 0 to the number - 1. These functions are: `\anyOf`, `\uninterleave`, `\extract`, `\permutation`, `\prefix`, `\reverse`, `\rotate`, `\setPartition`, `\split`, `\subsequence`, `\subset`, `\suffix`, `\unconcat`.
* `\convolve` now supports arbitrary-dimensional nested lists. Numbers are treated as 0-dimensional nested lists.
* `\mapFirst` is renamed to `\mapWith`.
* `\deinterleave` is renamed to `\uninterleave`.

## 0.3.5.0 -- 2023-06-12

Expand Down
2 changes: 1 addition & 1 deletion Nekomata.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ name: Nekomata
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.3.5.0
version: 0.4.0.0

-- A short (one-line) description of the package.
synopsis:
Expand Down
6 changes: 5 additions & 1 deletion analysis/corpus.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ G
ĉᵐ≡ů
ĉş
ᶦ{1%ŗ}k
rFŗ∑
#Rᶻřjj
RG1Ĉ
Ö∫¬∑T
Expand Down Expand Up @@ -119,6 +120,7 @@ ux→=∕$p=
çç+
5Ƃ×
Sđ>
2R:4*Ð×j:1Ĉ$2÷3Ĉ-
S∑a:u∕u
ʷ{£d
į→ŋ
Expand All @@ -137,7 +139,8 @@ D:×Ṁ
Rᶠ{$R~ᵃƂ×ᵈƂ-½
ĉJᵐj
ᶠ{JS=}ş
ˡ{ᵗ≡ĭ?}aṀ
p↔:#:ËGT∑
ˡ{ᵗ≡ĭ?}aṀ
Ɗĭ∑
ᵏ{*+$/1%≡
@ᵃ{x-¬∑}ä-
Expand Down Expand Up @@ -192,3 +195,4 @@ R∑R∑
Ä←_∏←_ä
Oᵖᵐ{Ťđṁ<}aş
Ɗ¢dÐ√
ᵉpttᵋ+*:,,$Ĉ
60 changes: 30 additions & 30 deletions analysis/freq_1gram.txt
Original file line number Diff line number Diff line change
@@ -1,58 +1,59 @@
{ : 46
$ : 37
: : 34
: : 39
$ : 39
∑ : 26
= : 25
∑ : 24
+ : 23
+ : 24
← : 21
} : 21
R : 19
: 19
* : 18
* : 20
R : 20
: 20
→ : 18
a : 18
ç : 17
ᵐ : 17
- : 16
1 : 15
2 : 13
- : 17
1 : 16
2 : 15
j : 14
, : 13
l : 13
j : 13
p : 13
Ƃ : 12
o : 12
u : 12
x : 12
, : 11
: 11
↕ : 11
½ : 11
p : 11
3 : 11
∫ : 11
~ : 11
ᵉ : 10
S : 10
3 : 10
ᵖ : 10
t : 10
≡ : 10
ᶻ : 10
Ð : 10
¢ : 10
Q : 9
ᵃ : 9
ᵑ : 9
Ṁ : 9
# : 9
; : 9
ĭ : 9
Ð : 9
L : 9
" : 8
ᶦ : 8
P : 8
d : 8
t : 8
ᵒ : 8
ĉ : 8
# : 8
< : 8
ṁ : 8
Ë : 8
C : 8
ʷ : 7
ᶜ : 7
Expand All @@ -63,48 +64,49 @@ e : 7
≥ : 7
‼ : 7
ŋ : 7
Ë : 7
∏ : 7
4 : 7
_ : 7
b : 7
ˡ : 6
r : 6
đ : 6
E : 6
Z : 6
Ä : 6
Ň : 6
ᵚ : 6
ŗ : 6
N : 6
Ɗ : 6
4 : 6
O : 6
∆ : 6
į : 6
h : 5
> : 5
ᵏ : 5
f : 5
r : 5
× : 5
∕ : 5
£ : 5
Ø : 5
? : 5
% : 5
ᶠ : 5
ş : 5
ŗ : 5
ř : 5
Ĉ : 5
ä : 5
Ř : 5
z : 5
Ť : 5
ᵈ : 5
@ : 5
× : 4
Ö : 4
/ : 4
D : 4
¬ : 4
G : 4
ů : 4
Ĩ : 4
µ : 4
Expand All @@ -125,32 +127,30 @@ q : 4
I : 3
Ṃ : 3
H : 3
: 3
Ď : 3
≤ : 3
Ç : 3
G : 3
k : 3
F : 3
T : 3
s : 3
ɔ : 3
M : 3
Ĭ : 3
i : 3
± : 3
ĕ : 3
÷ : 3
∩ : 3
Ṗ : 3
ᵗ : 3
ᵋ : 3
Ƥ : 2
: 2
¦ : 2
Ĉ : 2
T : 2
ƒ : 2
F : 2
7 : 2
ƥ : 2
÷ : 2
ᵋ : 2
U : 2
¥ : 2
§ : 2
Expand Down
47 changes: 38 additions & 9 deletions analysis/freq_2gram.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ $ᵑ : 3
ᵒ+ : 3
:← : 3
ᵏ{ : 3
R: : 3
:∙ : 3
xŘ : 3
{į : 3
Expand Down Expand Up @@ -60,9 +61,11 @@ Rᶠ : 2
%ŗ : 2
ŗ} : 2
}k : 2
rF : 2
ᶻř : 2
řj : 2
G1 : 2
1Ĉ : 2
· : 2
½a : 2
;ᶜ : 2
Expand All @@ -84,7 +87,6 @@ Qƥ : 2
{C : 2
∆A : 2
2< : 2
R: : 2
ĕ$ : 2
ᵐ↔ : 2
Ƃ∑ : 2
Expand All @@ -100,17 +102,21 @@ pN : 2
-ň : 2
aṁ : 2
0* : 2
2R : 2
↕ũ : 2
o↔ : 2
ĭ∑ : 2
¢B : 2
$ᶻ : 2
4* : 2
2÷ : 2
£d : 2
į→ : 2
→ŋ : 2
:↔ : 2
:: : 2
↔ᵃ : 2
,, : 2
ŇË : 2
tu : 2
ut : 2
Expand All @@ -119,6 +125,7 @@ ut : 2
Ṗ↕ : 2
Jᵐ : 2
{J : 2
:# : 2
aṀ : 2
{* : 2
ᵃ{ : 2
Expand Down Expand Up @@ -208,11 +215,12 @@ Zᵉ : 1
ᵐ≡ : 1
≡ů : 1
ĉş : 1
Fŗ : 1
ŗ∑ : 1
#R : 1
Rᶻ : 1
jj : 1
RG : 1
1Ĉ : 1
Ö∫ : 1
∫¬ : 1
∑T : 1
Expand Down Expand Up @@ -252,7 +260,6 @@ l∑ : 1
ĨË : 1
Ƃ+ : 1
→r : 1
rF : 1
F: : 1
rG : 1
3D : 1
Expand Down Expand Up @@ -403,7 +410,6 @@ $Ð : 1
‼į : 1
į= : 1
*2 : 1
2R : 1
R+ : 1
+ŋ : 1
ŋ↕ : 1
Expand Down Expand Up @@ -449,6 +455,17 @@ j↔ : 1
ç+ : 1
5Ƃ : 1
đ> : 1
:4 : 1
*Ð : 1
Ð× : 1
×j : 1
j: : 1
:1 : 1
Ĉ$ : 1
$2 : 1
÷3 : 1
3Ĉ : 1
Ĉ- : 1
S∑ : 1
∑a : 1
a: : 1
Expand All @@ -469,7 +486,6 @@ p: : 1
ᵃᶜ : 1
t$ : 1
$, : 1
,, : 1
,= : 1
Ë← : 1
←Q : 1
Expand All @@ -493,7 +509,6 @@ D: : 1
:× : 1
×Ṁ : 1
#2 : 1
2÷ : 1
÷: : 1
:→ : 1
→: : 1
Expand Down Expand Up @@ -525,7 +540,13 @@ R~ : 1
JS : 1
=} : 1
}ş : 1
ˡ : 1
p↔ : 1
↔: : 1
#: : 1
:Ë : 1
ËG : 1
GT : 1
T∑ : 1
{ᵗ : 1
ᵗ≡ : 1
≡ĭ : 1
Expand Down Expand Up @@ -666,7 +687,6 @@ $ṁ : 1
ṁ± : 1
±* : 1
$: : 1
:# : 1
←c : 1
c≥ : 1
{P : 1
Expand Down Expand Up @@ -712,7 +732,6 @@ aᵐ : 1
UU : 1
U$ : 1
{4 : 1
4* : 1
4ᵐ : 1
ᵐ+ : 1
↔3 : 1
Expand Down Expand Up @@ -840,3 +859,13 @@ Oᵖ : 1
¢d : 1
dÐ : 1
Ð√ : 1
ᵉp : 1
pt : 1
tt : 1
tᵋ : 1
ᵋ+ : 1
+* : 1
*: : 1
:, : 1
,$ : 1
$Ĉ : 1
Loading

0 comments on commit 51aca42

Please sign in to comment.