Ejemplo n.º 1
0
 private void Set()
 {
     RequiresText(
         name => {
         FiclStackEntry.Item item = FiclFifo.Pop();            // take from stack
         Contexts.Top[1][name]    = () => FiclFifo.Push(item); // and save as word
     });
 }
Ejemplo n.º 2
0
 private void If()
 {
     CompilingStarter("If");
     Code.Push(
         () => {
         if (!FiclFifo.Pop().True())
         {
             codePointer++;                   // skip leave
         }
     });
     Leave(); // this gets hit if the if statement is false
 }
Ejemplo n.º 3
0
 private void SingleQuote()
 {
     RequiresText((text) => FiclFifo.Push(text), "'");
 }
Ejemplo n.º 4
0
 private void DoubleQuote()
 {
     RequiresText((text) => FiclFifo.Push(text), "\"");
 }