• 検索結果がありません。

マイコン制御学習用プログラミング言語の設計と実装

N/A
N/A
Protected

Academic year: 2021

シェア "マイコン制御学習用プログラミング言語の設計と実装"

Copied!
1
0
0

読み込み中.... (全文を見る)

全文

(1)情報処理学会論文誌. プログラミング. Vol.6 No.1 28 (Jan. 2013). 発表概要. マイコン制御学習用プログラミング言語の設計と実装 谷岡 政宏1,a) 2012年6月21日発表. 今年度より中学校の技術・家庭科ではこれまで選択であった「D 情報に関する技術(3)プログラムによ る計測・制御」が必修となる.しかしながら,人的,予算的,時間的,および動作環境的といった様々な制 約の中で行わなければならないという現実がある.これらを克服するために開発された教材に三田市立長 坂中学校教諭浅田寿展氏の考案によるヒダピオシステムがある.このシステムでは,マイコン制御を行う 際に BASIC の文法で書かれたプログラムを機械語に翻訳する必要があり,これまでは市販の BASIC コン パイラを使用していた.しかし,市販のコンパイラには,(1) インストールする必要がある,(2) 中学生に とって煩雑なコンパイル作業が必要である,(3) 購入する予算が必要である等の問題点がある.そこで,中 学生がマイコンを使って制御を学習するためのプログラミング言語を設計し処理系をスクリプティング言 語 AWK で実装した.コンパイラはヒダピオシステムの簡易プログラミングでの文法を受理し,Atmel 社 の AVR マイコンのアセンブリ言語を出力する.また,市販の BASIC コンパイラの文法のサブセットにも 対応した.開発したコンパイラは実際に中学校の授業で利用されるほか,小中学生を対象にしたものづく り教室での電子オルゴール作成に使用されており,その有効性,実用性について実証されている.. Design and Implementation of a Programming Language for the Study of Microcomputer Control Masahiro Tanioka1,a) Presented: June 21, 2012. In junior high school, “Measurement and Control by Program” becomes compulsory from the current year. However, there is a reality that must be made of various constraints in human resources, budget, time, and an operating environment. There is a teaching material has been developed to overcome these called “Hidapio”. In this system, need to be translated into machine language program when performing a microcomputer control, until now, was using the BASIC compiler on the market. However, there is a problem such as the following: (1) There is a need to install the compiler on the market. (2) It is necessary for middle school students do cumbersome compile task. (3) There is a budget that is required to purchase. Therefore, we design a programming language for middle school students to learn microcomputer control, and implemented it in scripting language AWK. The compiler accepts the grammar in simplified programming, and to output the assembly language of AVR microcomputer. In addition, we also support a subset of the syntax of the BASIC compiler on the market. In addition to that is used actually in junior high school class has been used to create electronic music box in the classroom making things that target the elementary and junior high school students, their effectiveness has been demonstrated.. 1. a). 北海道職業能力開発大学校電子情報技術科 Department of Electronics and Information Technology, Hokkaido Polytechnic College, Otaru, Hokkaido 047–0292, Japan [email protected]. c 2013 Information Processing Society of Japan . 28.

(2)

参照

関連したドキュメント

As seen above, most articles published in the Bulletin were on political trends. Therefore we do not share the opinion that a close look at the information disseminated by the

Edkins, Joseph (1857) A Grammar of the Chinese Colloquial Language, commonly called the Mandarin dialect. Shanghai: London

(1961) ‘Fundamental considerations in testing for English language proficiency of foreign students’ in Center for Applied Linguistics: Testing the English Proficiency of

From the results of the study, the language with high status increases the ability, and the language with low status decreases the ability.. Therefore, it is hypothesized that

We hope that foreign students in middle and high school will find this glossary useful and become fond of math.. Moreover, in order to improve the usefulness of this glossary, we

In the first part we prove a general theorem on the image of a language K under a substitution, in the second we apply this to the special case when K is the language of balanced

(Construction of the strand of in- variants through enlargements (modifications ) of an idealistic filtration, and without using restriction to a hypersurface of maximal contact.) At

“Breuil-M´ezard conjecture and modularity lifting for potentially semistable deformations after