예제 #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
     });
 }
예제 #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
 }
예제 #3
0
 private void SingleQuote()
 {
     RequiresText((text) => FiclFifo.Push(text), "'");
 }
예제 #4
0
 private void DoubleQuote()
 {
     RequiresText((text) => FiclFifo.Push(text), "\"");
 }