Thread: Shakespeare Programming Language

  1. #1
    Registered User
    Join Date
    May 2012
    Posts
    2

    Question Shakespeare Programming Language

    Hey there,

    I hope to get help here. I've never done things with C/C++ before and have to give a talk about "Shakespeare programming language". In the official documentation I've read that the language is compiled via C. I just want to get work a simple example code from the their homepage but I don't know how to do this.

    Here is the official documentation:
    http://shakespearelang.sourceforge.n...hakespeare.pdf
    In chapter 6 you can read how to do this via C.

    And here is an example how it might/should look like:
    Computational drama: Shakespeare programming language - YouTube

    It would be great if someone could help me out by a step by step instruction how to do this.
    Which compiler do I need to open the spl files? Or how do I open files by using C? I've really tried a lot of things but nothing worked

    Sorry, as I already mentioned, I'm completely new to C. I just want to open this code

    Thanks a lot for your support! :-)


  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    > I'm completely new to C. I just want to open this code
    So why not download the actual reference implementation at The Shakespeare Programming Language and be done with it?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2012
    Posts
    2
    Cause I don't know how to compile it with C :-( What do I have to do? I've downloaded and installed GCC and the SPL things and now?

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Well you 'cd' into the directory where the file called 'makefile' exists, and you just type 'make'.

    That will run the compiler, and generate the executable.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. New Programming language
    By MacGyver in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 06-04-2007, 02:07 PM
  2. What's the Difference Between a Programming Language and a Scripting Language?
    By Krak in forum A Brief History of Cprogramming.com
    Replies: 23
    Last Post: 07-15-2005, 04:46 PM
  3. which programming language should be used for socket programming?
    By albert_wong_bmw in forum Networking/Device Communication
    Replies: 8
    Last Post: 06-04-2004, 08:12 PM
  4. Your first programming language?
    By Magos in forum A Brief History of Cprogramming.com
    Replies: 31
    Last Post: 12-02-2002, 11:35 AM
  5. Programming Language
    By {Dnw} in forum C Programming
    Replies: 6
    Last Post: 09-08-2001, 06:49 AM