Thread: dragon compiler

  1. #1
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    338

    Post dragon compiler

    Dragon Compiler to .c for linux

    Code:
    <stdio.h>
    
    @{ 
      char *world = "World"
      ink "Hello " [s]world
    }
    W.I.P.
    "without goto we would be wtf'd"

  2. #2
    null pointer Structure's Avatar
    Join Date
    May 2019
    Posts
    338

    Post

    Code:
    <stdio.h, stdlib.h, string.h>
    
    int main( void ) { 
        
        char *string = "Line: "
    
        for (int x=0; x<10; x++) {
            
            ink [s]string [i]x "\n"
    
        }
    
        return 0
    }
    "without goto we would be wtf'd"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to kill a dragon with various programming languages
    By g4j31a5 in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 10-01-2007, 12:13 PM
  2. The dragon book
    By cboard_member in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 09-16-2006, 07:41 AM
  3. dragon
    By RoD in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 05-01-2004, 10:24 AM
  4. Dragon War Update
    By moonwalker in forum Game Programming
    Replies: 2
    Last Post: 07-31-2002, 09:34 PM

Tags for this Thread