Results 1 to 10 of 10

Thread: "April's Fool!" in as many languages as possible!

  1. #1
    Guest

    "April's Fool!" in as many languages as possible!

    French: Poisson d'avril!
    Ruby: puts "April's Fool!"
    Python: print "April's Fool!"
    O'Caml: print_endline "April's Fool!"
    Forth: ." April's Fool!" CR BYE

  2. #2
    Guest

    Re: "April's Fool!" in as many languages as possib

    Danish: Aprils nar
    l33t: 4pri|z f00 !
    c++ : std::cout << "April's fool"

  3. #3
    Mentor
    Join Date
    Jun 2001
    Posts
    1,672

    Re: "April's Fool!" in as many languages as possib

    Java: out.println("April's Fool"
    JavaScript: document.writeln("April's Fool"

    Hungarian: Április bolondja

  4. #4

    Re:

    Scheme: (cons 'April '(Fools!))
    Prolog: AprilFools(Date) :- GetMonth(Date,MM),MM==april,GetDay(Date,DD),DD==1. /* I am not that good at Prolog, so if anyone sees anything wrong with this, please fix it. */
    Linux Kernel Module:
    Code:
    #include <linux/kernel.h>
    #include <linux/module.h>
    
    #if CONFIG_MODVERSIONS==1
    #define MODVERSIONS
    #include <linux/modversions.h>
    #endif * * * *
    
    
    
    /* Initialize the module */
    int init_module()
    {
     *printk("Happy April Fools!\n");
     *return 0;
    }
    
    
    /* Cleanup - undid whatever init_module did */
    void cleanup_module()
    {
     *printk("Short is the life of a kernel module\n");
    }
    Brainfuck:
    >+++++++++++++[->+++++<]>.
    [->++<]>>+++[-<------>]<.+
    +.---------.+++.>++++[->++++++++<]>.[->++<]>++++++.>
    ++++++++++[-<++++>]<+..---
    .+++++++.>+++++++++++[->+++<]>.>++++++++++.

  5. #5
    Mentor
    Join Date
    May 2001
    Location
    New Jersey
    Posts
    1,473

    Re: "April's Fool!" in as many languages as possib

    is'nt it April Fool's ???

  6. #6

    Re: "April's Fool!" in as many languages as possib


    is'nt it April Fool's ???
    That's what youuuuuuuuu think...

  7. #7

    Re: "April's Fool!" in as many languages as possib

    Here is the best I can do since GnuVince did Python
    English: April Fools!

  8. #8
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935

    Re: "April's Fool!" in as many languages as possib

    In C;

    if (date==april-01)
    printf ("\nApril Fool's day!\n"
    else
    printf("\nNormal Day!\n"
    return 0;


  9. #9

    Re: "April's Fool!" in as many languages as possib


    French: Poisson d'avril!
    So that's what that means! It's a Groovy Aardvark song. I always thought it meant April's fish. (For those who don't know French, poisson does mean fish.)

    Code:
    .data
    string db 'April fools!', 010h
    
    .code
    __start:
    push 0Dh ; length of string
    push string ; address of string
    push 01h ; file descriptor for stdout
    mov eax,04h ; sys_write
    call kernel
    
    push 0
    mov eax,01h ; exit
    call kernel
    
    kernel:
    int 080h
    ret
    That's designed for FreeBSD by the way, not Linux.

  10. #10
    Associate
    Join Date
    Oct 2001
    Posts
    16

    Re: "April's Fool!" in as many languages as possib

    Quebecker :
    Hey Ginette, c'est quel jour aujourd'hui? Quoi? De quoi tu parles esti? Poésson d'Avri? C't'aujourd'hui ca? Han? Ah ben ciboire...

Similar Threads

  1. Change languages in open office
    By eypros in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 06-02-2005, 06:49 AM
  2. Arguments in different languages
    By countach44 in forum Linux - Software, Applications & Programming
    Replies: 7
    Last Post: 03-28-2004, 05:08 PM
  3. MOVED: Arguments in different languages
    By gorn in forum General Chat
    Replies: 0
    Last Post: 03-18-2004, 01:35 AM
  4. Replies: 1
    Last Post: 01-22-2003, 09:10 PM
  5. Do Programming Languages Affect Your Sexual Perfor
    By stryder144 in forum General Chat
    Replies: 4
    Last Post: 04-01-2002, 02:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •