• 제목/요약/키워드: C Language

검색결과 1,634건 처리시간 0.032초

게임 프로그래밍을 위한 순수 함수형 언어의 활용 (Apply A Pure Functional Language for Game Programming)

  • 이동주;변석우;우균
    • 한국콘텐츠학회:학술대회논문집
    • /
    • 한국콘텐츠학회 2005년도 춘계 종합학술대회 논문집
    • /
    • pp.464-469
    • /
    • 2005
  • 일반적으로 게임 프로그램을 구현할 때 C언어와 같은 명령형 프로그래밍 언어가 주로 사용된다. 하지만 복잡하고 다양한 그림의 모습 및 동작을 표현하기에는 프로그래머의 많은 노력이 요구된다. 복잡한 게임 프로그램을 보다 간결하고 명확하게 표현하는 방법으로 순수 함수형 언어인 Haskell을 이용하는 방법을 시도한다. Haksell과 같은 순수 함수형 프로그래밍은 기술적인 우수성을 가지고 있으며, 현재 많은 분야에서 특화된 언어로 되고 있다. 본 논문에서는 동일한 게임을 Haskell과 C로 직접 구현함으로서, 게임 개발 측면에서 두 언어의 차이점과 장단점에 대해서 논의한다. 또한 향후 Haskell의 실용화 가능성에 대해서도 논의한다.

  • PDF

한국군에서의 C4I체계와 M&S 상호운용을 위한 BML 적용에 관한 연구 (A Study on the Battle Management Language Application for the C4I and M&S Interoperation in ROK Forces)

  • 정환식;이재영
    • 한국시뮬레이션학회논문지
    • /
    • 제19권1호
    • /
    • pp.91-101
    • /
    • 2010
  • 전투관리언어인 BML은 미군에서 가상 부대 및 실제 부대를 지휘 및 통제하기 제공하기 위한 명확한 언어라고 정의할 수 있다. BML은 C2 체계와 M&S를 연결하기 위해 미국과 NATO에서 개발되었다. BML이 개발된 목적은 전장정보를 통해 상황인식을 제공하고, C2 체계와 M&S간 상호운용을 위한 해법을 제시하는 것이라고 할 수 있다. 본 연구는 육군에서 시작하여 다국적국으로 구성된 환경으로 확장되고 있는 미국의 BML 개발과정에 대해서 설명하고, 한국군에서 C4I체계와 M&S간 상호운용을 위한 BML 적용 방안에 대해서 제안한다. 최근, 미국에서는 BML을 연합국으로 구성된 환경에서 적용하여 긍정적인 결과를 얻었는데, 이는 C2 체계와 M&S간 상호운용에 대한 가능성을 보여주었다. 마지막으로, 본 연구는 BML을 한국군에 적용하기 위한 방안으로 한국군 합동지휘통제체계를 중심으로 제안하였다. 이는 향후 한국군에서 BML 적용시 밑그림을 제공 할 것이라고 판단된다.

UML 클래스 다이어그램 기반의 효율적인 C++코드 생성기의 설계와 구현 (Design and Implementation of an Efficient C++ Code Generator based on UML Class Diagram)

  • 조형주;정진완;김형주
    • 한국정보과학회논문지:컴퓨팅의 실제 및 레터
    • /
    • 제6권4호
    • /
    • pp.393-402
    • /
    • 2000
  • UML은 OMG에 의해서 표준 객체지향 모델링 언어로 승인 받았다. 그러나, UML을 지원하는 몇몇의 CASE 도구들이 생성한 C++ 코드는 1대 n 관계나 aggregation 관계의 의미를 정확히 반영하지 못하고 있다. 또한, 상용 CASE 도구들이 하나의 UML 클래스 다이어그램에서 너무 많은 프로그래밍 언어를 지원하기 때문에, 그들은 C++언어가 가지는 특징을 효율적으로 지원하지 못하고 있다. 제안된 C++코드 생성기는 1대 n의 관계, aggregation 관계, 코드 패턴(code pattern), 디자인 패턴(design pattern)을 지원한다.본 논문에서는 UML 클래스 다이어그램 기반의 효율적인 C++ 코드 생성기의 설계와 구현에 대하여 기술한다.

  • PDF

PUMA robot에서의 RCCL(robot control C library)의 구현 (Implemention of RCCL on PUMA)

  • 배본호;이진수
    • 제어로봇시스템학회:학술대회논문집
    • /
    • 제어로봇시스템학회 1991년도 한국자동제어학술회의논문집(국내학술편); KOEX, Seoul; 22-24 Oct. 1991
    • /
    • pp.24-29
    • /
    • 1991
  • RCCL(Robot Control C Library) is general purpose robot control language. It is programmed with C language and composed of C library. So it is well portable and supports sensor integration control and high level force control algorithms. We implemented RCCL on PUMA. We developed servo controller of DDC(Direct Digital Control). We used intel 8097BH one chip micro controller as CPU. One digital servo board controls three motors. Host computer is IBM PC 386DX-33 with RCCL.

  • PDF

A perception-based analysis of voice onset time (VOT) dissimilation in Korean

  • Hijo Kang;Mira Oh
    • 말소리와 음성과학
    • /
    • 제16권1호
    • /
    • pp.25-31
    • /
    • 2024
  • This study examines the perceptual motivation behind dissimilation. Consistent with previous arguments suggesting that dissimilation originates from perception rather than production (Coetzee, 2005; Kiparsky, 2003; Scheer, 2013), we hypothesized that an oral stop with short of voice onset time (VOT) would be recognized as non-aspirated more often when it is followed by an aspirated stop with a long VOT. This hypothesis was tested through a perception experiment in which 32 Korean listeners made judgments on the first consonant of C1VC2V words manipulated with C1 VOT and C2 types. The results revealed that aspirated-based C1 was recognized as aspirated or tense depending on the duration of VOT, while lenis-based C1 was consistently recognized as lenis. The dissimilatory effect of aspirated C2 was confirmed as anticipated, and furthermore, tense C2 increased the ratio of tense responses more than aspirated C2. These results provide evidence of a perceptual bias against recurrent aspirated stops, which may play a role in activating a dissimilatory rule or constraint in a language. The assimilatory effect of tense C2 is in consistent with findings indicating that word-initial tensification is facilitated by the following tense stop in Korean (Kang & Oh, 2016; H. Kim, 2016).

A Language-Specific Physiological Motor Constraint in Korean Non-Assimilating Consonant Sequences

  • Son, Min-Jung
    • 말소리와 음성과학
    • /
    • 제3권3호
    • /
    • pp.27-33
    • /
    • 2011
  • This paper explores two articulatory characteristics of inter-consonantal coordination observed in lingual-lingual (/kt/, /ks/) and labial-lingual (/pt/) sequences. Using electromagnetic articulometry (EMMA), temporal aspects of the lip movement and lingual movement (of the tongue tip and the tongue dorsum) were examined. Three sequences (/ks/, /kt/, /pt/) were investigated in two respects: gestural overlap in C1C2 and formation duration of coronals in C2 (/t/ or /s/). Results are summarized as follows. First, in a sequence of two stop consonants gestural overlap did not vary with order contrast or a low-level motor constraint on lingual articulators. Gestural overlap between two stop consonants was similar in both /kt/ (lingual-lingual; back-to-front) and /pt/ (labial-lingual; front-to-back). Second, gestural overlap was not simply constrained by place of articulation. Two coronals (/s/ and /t/) shared the same articulator, the tongue tip, but they showed a distinctive gestural overlap pattern with respect to /k/ in C1 (/ks/ (less overlap) < /kt/ (more overlap)). Third, temporal duration of the tongue tip gesture varied as a function of manner of articulation of the target segment in C2 (/ks/ (shorter) < /kt/ (longer)) as well as a function of place of articulation of the segmental context in C1 (/pt/ (shorter) < /kt/ (longer)). There are several implications associated with the results from Korean non-assimilating contexts. First, Korean can be better explained in the way of its language-specific gestural pattern; gestural overlap in Korean is not simply attributed to order contrast (front-to-back vs. back-to-front) or a physiological motor constraint on lingual articulators (lingual-lingual vs. nonlingual-lingual). Taking all factors into consideration, inter-gestural coordination is influenced not only by C1 (place of articulation) but also C2 (manner of articulation). Second, the jaw articulator could have been a factor behind a distinctive gestural overlap pattern in different C1C2 sequences (/ks/ (less overlap) vs. /kt/ and /pt/ (more overlap)). A language-specific gestural pattern occurred with reference to a physiological motor constraint on the jaw articulator.

  • PDF

${\mu}C/OS-II$ 운영체제환경을 고려한 SDL 명세로부터의 내장형 C 코드 자동 생성 (Automatic SDL to Embedded C Code Generation Considering ${\mu}C/OS-II$ OS Environment)

  • 곽상훈;이정근
    • 한국컴퓨터정보학회논문지
    • /
    • 제13권3호
    • /
    • pp.45-55
    • /
    • 2008
  • 내장형시스템의 복잡도 증가로 인하여 내장형 소프트웨어의 자동생성 및 하드웨어-소프트웨어 통합설계 방법론등이 크게 이슈화되고 있다. 자동화된 설계 방법론에 있어서 공통적인 요구사항은 시스템 설계를 효과적으로 모호성 없이 기술 할 수 있도록 정형화된 설계 언어를 제공하는 것과 설계 언어로 부터 자동으로 원하는 소프트웨어 코드를 생성하는 방법의 개발이다. 본 논문에서는 시스템 기술언어로 ITU-T에 의해 표준으로 권고되어 널리 사용되고 있는 SDL (Specification and Description Language)로부터 실시간 운영체제 uC/OS-II에서 수행될 임베디드 C코드를 자동으로 생성하는 자동화된 방법론을 제시한다. 연구 개발된 자동 내장형 C코드 생성기는 하드웨어-소프트웨어 통합설계환경에서 소프트웨어 설계의 한 축으로 이용될 수 있으며 SDL 시뮬레이터나 검증기를 통하여 개발하고자 하는 code의 기능을 초기 모델 수준에서 평가하고 검증 할 수 있다.

  • PDF

A Translator of MUSS-80 for CYBER-72l

  • 이용태;이은구
    • 정보과학회지
    • /
    • 제1권1호
    • /
    • pp.23-35
    • /
    • 1983
  • In its global meaning language translation refers to the process whereby a program which is executable in one computer can be executed in another computer directly to obtain the same result. There are four different ways of approaching translation. The first way is translation by a Translator or a Compier, the second way is Interpretation, the third way is Simulation, the last way is Emulation. This paper introduces the M-C Translator which was designed as the first way of translation. The MUSS 80 language (the subsystem of the UNIVAC Solid State 80 S-4 assembly language system) was chosen as the source language which includes forty-three instructions, using the CYBER COMPASS as the object language. The M-C translator is a two pass translator and is a two pas translator and es written in Fortran Extended language. For this M-C Translation, seven COMPASS subroutines and a set of thirty-five macros were prepared. Each executable source instruction corresponds to a macro, so it will be a macro instruction within the object profram. Subroutines are used to retain and handle the source data representation the same way in the object program as in the source system, and are used to convert the decimal source data into the equivalent binary result into the equivalent USS-80digits before and after arithmetic operations. The source instructions can be classified into three categories. First, therd are some instructions which are meaningless in the object system and are therefore unnecessary to translate, and the remaining instructions should be translated. Second, There are some instructions are required to indicate dual address portions. Third, there are Three instructions which have overflow conditions, which are lacking in the remaining instructions. The construction and functions of the M-C Translator, are explained including some of the subroutines, and macros. The problems, difficulties and the method of solving them, and easier features on this translation are analysed. The study of how to save memory and time will be continued.

UML과 HDL을 이용한 SoC 설계 개선 (Improving SoC Design Flow with Unified Modeling Language and HDL)

  • 김창훈;황상준;홍승우;성만영
    • 한국전기전자재료학회:학술대회논문집
    • /
    • 한국전기전자재료학회 2005년도 하계학술대회 논문집 Vol.6
    • /
    • pp.135-138
    • /
    • 2005
  • HDL(Hardware Description Language) is the most important modem tools used to describe hardware, and becomes important as we move to higher levels of abstraction. The HDL has been made brisk use of in analog design, MEMS device[1-2], process related field as well as digital design. The most important characteristics of HDL is Abstraction which is the strongest tool that extend greatly designer's design ability. In this paper by the Modelling Continuum with hierarchical structure of abstraction, we apply UML(Unified Modeling Language) to SoC Design with HDL UML makes an easy and visual description of the various levels of abstraction, and gives designers good flexible modeling capabilty for SoC Design.

  • PDF