• Stars
    star
    221
  • Rank 174,290 (Top 4 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated about 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Japanese Programming Language Nadesiko v3 (JavaScript)

日本語プログラミング言語「なでしこ3」

MIT License npm version Node.js CI

「なでしこ3」とは

「なでしこ3」とは、日本語のプログラミング言語です。HTML5/JavaScript(TypeScript)をベースとしているので、PC/スマホ/タブレットなど、さまざまな環境で動作させることができます。日本語プログラミング言語は、読みやすく理解しやすいのが特徴で、初めてでも楽しくプログラミングを覚えることができます。また、バッチ処理や定型処理などを手軽に記述できます。

対応機器/ブラウザ

主要ブラウザ(Chrome/Safari/Edge/Firefox)に対応しています。詳しくは、対応機器/ブラウザ をご覧ください。

ブラウザで利用する場合

以下、Webエディタ上で、なでしこを実行できます。

各OSごとに利用する方法

なでしこ3をPC向けにローカル環境で動作させることも可能です。

npm でなでしこ3コマンドライン版をインストール

先にNode.jsをインストールします。 次いで、コマンドラインから以下のコマンドを実行します。

npm install -g nadesiko3

すると、cnako3というコマンドで、なでしこを利用できます。

# なでしこのサーバーを起動
npm start
# なでしこエディタ(PC版)を起動
npm run nako3edit
# なでしこエディタ(WEB版)を起動
npm run nako3server

Node.jsの推奨バージョンは、v14以上です。

Gitからインストール

また、以下のコマンドを実行すると、なでしこの開発環境をセットアップできます。

git clone --recursive https://github.com/kujirahand/nadesiko3.git
cd nadesiko3
npm install

サブモジュールとしてnadesiko3coreを利用するので、--recursive を付け忘れたら以下のコマンドを実行して、サブモジュールも取得してください。

# 以下のように --recursive 付け忘れた場合
git clone https://github.com/kujirahand/nadesiko3.git
cd nadesiko3
# サブモジュールを取得する
git submodule update --init --recursive

Ubuntuへの開発環境のセットアップ

まっさらなUbuntu22.04でなでしこ3の開発環境を整える場合は以下のコマンドを実行します。

sudo apt update
# nvm で Node.js をインストール
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | bash
source ~/.bashrc
nvm install v18.12.1
# リポジトリのセットアップ
git clone --recursive https://github.com/kujirahand/nadesiko3.git
cd nadesiko3
npm install
# なでしこ3のビルド
npm run build
# 『圧縮』『解凍』命令のために
sudo apt install -y p7zip-full
# cnako3をパスに追加する

追加インストール(macOS/Linux)

必要に応じて以下のコマンドをインストールします。

macOS:

# 『圧縮』『解凍』命令のために
brew install p7zip

Ubuntu/Debian:

# 『圧縮』『解凍』命令のために
sudo apt install p7zip-full
# 『キー送信』命令のために
sudo apt install xdotool

全てのコマンドが正しく動くかを確認するには、以下のコマンドを実行します。

npm test
npm run test:all

なでしこの開発履歴

「なでしこ3」の開発は2017年に始まり、以後コツコツとバージョンアップを続けています。 「誰でも簡単プログラマー」の目標を実現するために、これからも頑張ります。

  • (2022-05-19) v3.3.18でJavaScriptからTypeScriptへ変更。言語コアを別リポジトリに移動
  • (2022-04-20) v3.3.2を公開(モジュール構造をCommonJS→ESModuleへ変更/asyncFnの実装)
  • (2021-04-09) v3.2.1を公開
  • (2020-04-24) v3.1.2を公開
  • (2017-12-29) v3.0.19を公開(無名関数の「には」構文の実装など)
  • (2017-06-25) 内部構造を大幅に修正(PEGパーサーから独自のパーサーに変更)
  • (2017-02-13) なでしこ3のプロジェクトが開始
  • (2004-08-01) ひまわり2としてゼロからなでしこv1の開発が開始

なでしこ3の開発に参加する

なでしこ3自身を開発するために、開発環境を整えようという方は、 doc/SETUP.md をご覧ください。 また、なでしこ3開発者向けのGitterへの参加も可能です。

関連リポジトリへのリンク

More Repositories

1

EJDict

English-Japanese Dictionary data (Public Domain) EJDict-hand
PHP
184
star
2

book-mlearn-gyomu

Book sample (AI Machine-learning Deep-learning)
Jupyter Notebook
121
star
3

book-rust

Rust本のサンプルプログラム一覧
Rust
76
star
4

book-python-scraping

『Pythonによるスクレイピング&機械学習 開発テクニック』のサンプルプログラム
Jupyter Notebook
61
star
5

nadesiko

Japanese Programming Language Nadesiko ver1
Pascal
43
star
6

book-webservice-python

Web Service Book (Python)
Python
25
star
7

sakuramml

MML Compiler
Pascal
25
star
8

nadesiko2

Japanese Programming Language Nadesiko2 (C# version)
C#
19
star
9

chozetu-excel-vba

超絶Excel VBAのサンプルプログラム
VBA
18
star
10

node-png-metadata

PNG metadata read and write
JavaScript
17
star
11

book-json-sample

Samples for JSON book
Jupyter Notebook
16
star
12

book-generativeai-sample

書籍「生成AI・ChatGPTでPythonプログラミング」のサンプルプログラム
Python
13
star
13

tkeasygui-python

Easy & Simple GUI Library for Python
Python
13
star
14

sakuramml-c

MML Compiler / Text to Midi Converter
C
11
star
15

node-sendkeys-js

vb sendkeys emulation for win & mac nodejs
JavaScript
10
star
16

sakuramml-rust

MML Compiler SAKURA Rust
Rust
9
star
17

book-node-reactjs

Node.jsとReactアプリ開発テクニックのサンプルコード
JavaScript
9
star
18

nadesiko3core

Japanese Programming Lnaguage Nadesiko3 Core Engine
TypeScript
7
star
19

konawiki3

Wiki clone
PHP
7
star
20

JSON5-PHP

JSON5 for PHP
PHP
7
star
21

nadesiko3go

Japanese Programming Language Nadesiko v3 by Golang
Go
6
star
22

sakuramml-go

mml compiler sakura by golang
Go
5
star
23

nadesiko3win32

日本語プログラミング言語「なでしこ3」Windows版バイナリ配布
VBScript
5
star
24

wav_io

wav file io for rust
Rust
5
star
25

nadesiko3webkit

nadesiko3 for webkit
Go
4
star
26

UsagiEPubReaderForAndroid

UsagiReader - EPUB Reader for Android
Java
4
star
27

busybox-vba

grep, sed, awk for vba
VBA
4
star
28

mecab-vba

mecab for Excel VBA (Windows)
VBA
4
star
29

nako3storage

なでしこ3貯蔵庫 - なでしこのプログラムを保存共有できるWebサービス
PHP
4
star
30

picosakura-rust

MML Compiler Sakura - picosakura player rust version
Rust
3
star
31

nadesiko3doc

Documents for Nadesiko3
PHP
3
star
32

node-sqlite-kvs

Key-Value Store for Node.js using SQLite3
JavaScript
3
star
33

konawiki2

WIKI clone
PHP
3
star
34

node-mecab-lite

MeCab module for Node.js
JavaScript
3
star
35

spam-database-ja

Spam database for Japanese
2
star
36

nadesiko3-ml

Machine Learning for Nadesiko3
JavaScript
2
star
37

unicode-sheets

unicode block sheets
2
star
38

mlearn-sample

sample files
2
star
39

raspi_opencv_install

How to install OpenCV to Raspberry Pi Jessie for Python3
Shell
2
star
40

mkcss.php

CSS Generator (altCSS) for PHP
PHP
2
star
41

node-csv-lite

CSV Reader/Writer for Node.js
JavaScript
2
star
42

nadesiko3php

nadesiko3 を php で作り直したもの
PHP
2
star
43

manatubbs

manatubbs is bbs for bugtracking
PHP
2
star
44

picosakura

piko sakura is music box for browser with MML Compiler Sakura
HTML
2
star
45

nadesiko3hub

日本語プログラミング言語「なでしこ3」のプログラムを貯蔵するハブ
1
star
46

konawiki4

Wiki
1
star
47

sakuramml-js

MML Compiler SAKURA - JavaScript Version
JavaScript
1
star
48

text2pdf

convert text (or markdown) file to pdf
Python
1
star
49

jswaffle

HTML5/JS framework like PhoneGap
Java
1
star
50

aoi2

Automatically exported from code.google.com/p/aoi2
ActionScript
1
star
51

book-nadesiko3-sample

なでしこ3のサンプル
PHP
1
star
52

rust-base64-light

Base64 Encoder, Decoder
Rust
1
star
53

nadesiko3-firebase

nadesiko3でfirebaseを扱うためのプラグイン
JavaScript
1
star
54

rust-lazyrand

simple library for generating random numbers easily
Rust
1
star
55

kudb-python

doc database for python
Python
1
star
56

pykvs_lite

Key-Value Store for Python
Python
1
star
57

book-ml-lesson

Python
1
star
58

nadesiko3-server

HTTP Server for Nadesiko3
JavaScript
1
star
59

nadesiko3-mecab

mecab for nadesiko3
JavaScript
1
star
60

nadesiko3rust

nadesiko3 by rust
Rust
1
star
61

nadesiko3-hoge

hoge plugin for nadesiko3 --- this is sample plugin
JavaScript
1
star
62

nadesiko3-win32

Windows関連の命令 - 日本語プログラミング言語「なでしこv3」プラグイン
1
star
63

Raspi-AQM1248A

AQM1248A Python library for Raspberry Pi
Python
1
star