📄 group__forth.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Forth - Forth virtual machine</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.1 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div><h1>Forth - Forth virtual machine</h1><hr><a name="_details"></a><h2>Detailed Description</h2>ANS forth virtual machine. <p>This is a 'token threaded' implementation which contains the ANS Core words plus a few extra words from other word sets. It doesn't make use of any C library functions, and so should compile to stand-alone code suitable for embedding in other programs.<p>This code has been placed in the Public Domain by J.D.Medhurst (a.k.a. Tixy). It may be used, modified and distibuted in any manner, without any restriction. <p><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Modules</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__forth__imp.html">Internal - Internal implementation of the forth virtual machine</a></td></tr><tr><td colspan="2"><br><h2>Classes</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classForthIo.html">ForthIo</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Abstract interfrace class for forth character i/o. <a href="classForthIo.html#_details">More...</a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classForth.html">Forth</a></td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Public interface to the forth virtual machine. <a href="classForth.html#_details">More...</a><br></td></tr><tr><td colspan="2"><br><h2>Defines</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__forth.html#ga5">BITS_PER_CHAR</a> 8</td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__forth.html#ga6">CHARS_PER_CELL</a> 4</td></tr><tr><td colspan="2"><br><h2>Typedefs</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="group__integers.html#ga5">int32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__forth.html#ga0">CELL</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="group__integers.html#ga2">uint32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__forth.html#ga1">UCELL</a></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="group__integers.html#ga0">uint8</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__forth.html#ga2">CHAR</a></td></tr></table><hr><h2>Define Documentation</h2><a class="anchor" name="ga5" doxytag="forth.h::BITS_PER_CHAR"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define BITS_PER_CHAR 8 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Number of bits in a <a class="el" href="group__forth.html#ga2">CHAR</a> <p>Definition at line <a class="el" href="forth_8h-source.html#l00053">53</a> of file <a class="el" href="forth_8h-source.html">forth.h</a>. </td> </tr></table><a class="anchor" name="ga6" doxytag="forth.h::CHARS_PER_CELL"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define CHARS_PER_CELL 4 </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Number of CHARs in a <a class="el" href="group__forth.html#ga0">CELL</a> <p>Definition at line <a class="el" href="forth_8h-source.html#l00058">58</a> of file <a class="el" href="forth_8h-source.html">forth.h</a>. </td> </tr></table><hr><h2>Typedef Documentation</h2><a class="anchor" name="ga0" doxytag="forth.h::CELL"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef <a class="el" href="group__integers.html#ga5">int32</a> <a class="el" href="group__forth.html#ga0">CELL</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A type representing a forth cell type. If this typedef is changed then <a class="el" href="group__forth.html#ga6">CHARS_PER_CELL</a> must be updated. <p>Definition at line <a class="el" href="forth_8h-source.html#l00034">34</a> of file <a class="el" href="forth_8h-source.html">forth.h</a>. </td> </tr></table><a class="anchor" name="ga1" doxytag="forth.h::UCELL"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef <a class="el" href="group__integers.html#ga2">uint32</a> <a class="el" href="group__forth.html#ga1">UCELL</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A type representing a forth unsigned cell type. This mus have the same size as <a class="el" href="group__forth.html#ga0">CELL</a>. <p>Definition at line <a class="el" href="forth_8h-source.html#l00042">42</a> of file <a class="el" href="forth_8h-source.html">forth.h</a>. </td> </tr></table><a class="anchor" name="ga2" doxytag="forth.h::CHAR"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">typedef <a class="el" href="group__integers.html#ga0">uint8</a> <a class="el" href="group__forth.html#ga2">CHAR</a> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>A type representing a forth char type. If this typedef is changed then <a class="el" href="group__forth.html#ga5">BITS_PER_CHAR</a> and <a class="el" href="group__forth.html#ga6">CHARS_PER_CELL</a> must be updated. <p>Definition at line <a class="el" href="forth_8h-source.html#l00048">48</a> of file <a class="el" href="forth_8h-source.html">forth.h</a>. </td> </tr></table><HR><ADDRESS STYLE="align: right;"><SMALL>Generated by <A HREF="http://www.doxygen.org/index.html"><IMG SRC="doxygen.png" ALT="doxygen" ALIGN="middle" BORDER="0"></A> 1.4.1</SMALL></ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -