翻訳と辞書
Words near each other
・ C++ Report
・ C++ Standard Library
・ C++ string handling
・ C++ Technical Report 1
・ C++/CLI
・ C++/CX
・ C++03
・ C++11
・ C++14
・ C++17
・ C++Builder
・ C+-probability
・ C+C Music Factory
・ C+C Music Factory (album)
・ C+C Music Factory discography
C--
・ C-101
・ C-146/13 and C-147/13
・ C-16 highway (Spain)
・ C-17 highway (Spain)
・ C-20 Gulfstream
・ C-22 process
・ C-3 railway station
・ C-3-A/B mine
・ C-301
・ C-31 highway (Spain)
・ C-310
・ C-32 highway (Spain)
・ C-34 Mosquito Impoundment Project
・ C-36 (cipher machine)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

C-- : ウィキペディア英語版
C--

C-- (pronounced "see minus minus") is a C-like programming language. Its creators, functional programming researchers Simon Peyton Jones and Norman Ramsey, designed it to be generated mainly by compilers for very high-level languages rather than written by human programmers. Unlike many other intermediate languages, its representation is plain ASCII text, not bytecode or another binary format.
== Design ==
C-- is a "portable assembly language", designed to ease the task of implementing a compiler which produces high quality machine code. This is done by having the compiler generate C-- code, delegating the harder work of low-level code generation and optimisation to a C-- compiler.
Work on C-- began in the late 1990s. Since writing a custom code generator is a challenge in itself, and the compiler back ends available to researchers at that time were complex and poorly documented, several projects had written compilers which generated C code (for instance, the original Modula-3 compiler). However, C is a poor choice for functional languages: it does not support tail recursion, accurate garbage collection or efficient exception handling. C-- is a simpler, tightly-defined alternative to C which does support all of these things. Its most innovative feature is a run-time interface which allows writing of portable garbage collectors, exception handling systems and other run-time features which work with any C-- compiler.
The language's syntax borrows heavily from C. It omits or changes standard C features such as variadic functions, pointer syntax, and aspects of C's type system, because they hamper certain essential features of C-- and the ease with which code-generation tools can produce it.
The name of the language is an in-joke, indicating that C-- is a reduced form of C, in the same way that C++ is basically an expanded form of C. (In C-like languages, "--" and "++" are operators meaning "decrement" and "increment".)
C-- is a target platform for the Glasgow Haskell Compiler. Some of C--'s developers, including Simon Peyton Jones, João Dias, and Norman Ramsey, work or have worked on the Glasgow Haskell Compiler. The GHC codebase and development are based at Microsoft Research in Cambridge, though it is not a Microsoft project.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「C--」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.