Skip to content

Commit

Permalink
暗黙的な無名関数「は〜」を廃止 #1744
Browse files Browse the repository at this point in the history
  • Loading branch information
kujirahand committed Jan 31, 2025
1 parent 18ec8fd commit a0364c5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion core/src/nako_josi_list.mts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const josiList: string[] = [
'について', 'くらい', 'なのか', 'までを', 'までの', 'による',
'とは', 'から', 'まで', 'だけ', 'より', 'ほど', 'など',
'いて', 'えて', 'きて', 'けて', 'して', 'って', 'にて', 'みて',
'めて', 'ねて', 'では', 'には', 'は~', 'んで', 'ずつ',
'めて', 'ねて', 'では', 'には', 'んで', 'ずつ',
'は', 'を', 'に', 'へ', 'で', 'と', 'が', 'の'
]

Expand Down
6 changes: 0 additions & 6 deletions core/test/func_test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,6 @@ describe('func_test', async () => {
await cmp('●(fでaを)演算処理とは\nf(a)を表示\nここまで\n' +
'2を演算処理には(a)\nそれはa*2\nここまで\n', '4')
})
it('暗黙的な無名関数「は〜」', async () => {
await cmp('●(Fを)処理した時\nF()を表示\nここまで\n' +
'処理した時は〜\nそれは「OK」\nここまで。', 'OK')
await cmp('●(fでaを)演算処理とは\nf(a)を表示\nここまで\n' +
'2を演算処理は~(a)\nそれはa*2\nここまで\n', '4')
})
it('**すること #936', async () => {
await cmp('●(AとBを)加算処理とは\nAとBを足すこと。。。3と5を加算処理して表示。', '8')
await cmp('●(Nを)二乗処理とは;A=0;N回,AにNを足してAに代入すること。それはA。。。5を二乗処理して表示。', '25')
Expand Down

0 comments on commit a0364c5

Please sign in to comment.