请输入您要查询的百科知识:

 

词条 ColorForth
释义

  1. References

  2. External links

{{Refimprove|article|date=August 2007}}{{lowercase|title=colorForth}}{{ infobox programming language
| name = colorForth
| logo =
| paradigm = Procedural, stack-oriented
| year = 1990s
| designer = Charles H. Moore
| developer = Charles H. Moore
| latest_release_version = {{start date and age|2001|7|31}}[1]
| typing = typeless
| dialects =
| implementations =
| influenced_by = Forth
| influenced =
| license = Public domain[1]
| website = {{URL|https://colorforth.github.io/}}
| file_ext =
}}colorForth is a programming language from the Forth language's original designer, Charles H. Moore, developed in the 1990s. There was an earlier predecessor called 386 OK which appeared for sale at Silicon Valley Forth Interest Group (SVFIG)[2] meetings in 1992.[3]

An idiosyncratic programming environment, the colors simplify Forth's semantics, speed compiling, and are said to aid Moore's own poor eyesight: colorForth uses different colors in its source code (replacing some of the punctuation in standard Forth) to determine how different words are treated.

colorForth was originally developed as the scripting language for Moore's own homebrew VLSI CAD program OKAD,[4] with which he develops custom Forth processors. As the language gained utility, he rewrote his CAD program in it, spruced up the environment, and released it to the public. It has since gained a small following, spurred much debate in the Forth community, and sprung offshoots for other processors and operating environments. The language's roots are closer to the Forth machine languages Moore develops for his processors than to the mainstream standardized Forths in more widespread use.

The language comes with its own tiny (63K) operating system. Practically everything is stored as source code and compiled as and when needed. The current colorForth environment is limited to running on Pentium grade PCs with limited support for lowest-common-denominator motherboards, AGP video, disk, and network hardware.

Coloring in colorForth has semantic meaning. Red words start a definition and green words are compiled into the current definition. Thus, colorForth would be rendered in standard Forth as:

Moore developed Forth in the early 1970s and created a series of implementations of the language. In the 1980s he diverged from (or rather ignored) the standardization of the language, instead continuing to evolve it. He developed a series of Forth-like languages, each fairly extreme in its simplicity: Machine Forth, OK, colorForth.

There is some controversy about colorForth marginalizing color blind programmers, but Moore has stated that color is only one option for displaying the language. One of Moore's papers on colorForth was printed in black and white, but used italics and other typographical conventions to present source code.

References

1. ^{{cite web | url=https://colorforth.github.io/status.html | title=colorForth Status | date=September 2002 | archiveurl=https://web.archive.org/web/20160310135832/http://colorforth.com/status.html | archivedate=2016-03-10 | deadurl=yes | df= }}
2. ^{{cite web| url=http://forth.org/svfig/| title=Silicon Valley Forth Interest Group| date=2011-05-16| accessdate=2017-06-08}}
3. ^386 OK, A new Operating System Invented by Chuck Moore, Computer Cowboy Reins In A Wildhorse, C.H.Ting, Offete Enterprises, 1992
4. ^{{cite web| url=http://www.ultratechnology.com/okad2.htm| title=OKAD II (Oh CAD Two)| date=2001-07-01| accessdate=2017-06-08}}

External links

  • {{cite web

| url=http://www.strangegizmo.com/forth/ColorForth/
| title=ColorForth Mail List Archive
| author=Michael Alyn Miller}}
  • {{cite web

| url=http://www.ultratechnology.com/forth0.htm#mf
| title=Forth Software and Hardware by Date: Machine Forth and colorForth
| date=2006-04-17
| publisher=UltraTechnology}}
  • {{cite web

| url=http://www.inventio.co.uk/cfdos.htm
| title=colorForth downloader
| date=2016-05-24
| author=Howerd Oakford}}
  • {{cite web

| url=http://cflinks.strangegizmo.com/
| title=colorForth Resources
| date=2003-08-11}}
  • {{SourceForge|colorforth|colorForth code repository and joint development effort}}
  • {{Webarchive

| url=https://web.archive.org/web/20140116175425/http://forthworks.com/c4th/doku.php
| title=ColorForth Community Wiki
| date=2014-01-16}}
  • {{cite web

| url=http://www.greenarraychips.com/home/documents/greg/cf-intro.htm
| title=Introduction to arrayForth™
| author=Greg Bailey}}

2 : Concatenative programming languages|Forth programming language family

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/10 23:22:18