Realy Strange Code

Discussion in 'Programming' started by rndm87, Mar 25, 2007.

  1. #1
    hi. i am new here. i get one code but i realy dont know which programming language is used.
    the code:

    
    d::=labrit!
    a::=vakuums
    t::=lolzors
    u::=king
    v::=0
    e::=-3
    :::===
    )::=(
    ?::=.
    a::=@
    .::=:::
    i::=-
    @::=<|:|>
    ::=
    asm.lv
    Code (markup):

    if someone can tell or compile this code i will be glad :)

    p.s. sorry for bad english
     
    rndm87, Mar 25, 2007 IP
  2. rndm87

    rndm87 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    no one knows?
     
    rndm87, Mar 25, 2007 IP
  3. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #3
    nico_swd, Mar 25, 2007 IP
  4. rndm87

    rndm87 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    see, the words after 'a::=', 'd::=', 't::=' etc are simple words in Latvian (language of Latvia, thats were i'm living :) )
     
    rndm87, Mar 25, 2007 IP
  5. sea otter

    sea otter Peon

    Messages:
    250
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's looks like some Backus-Naur Form (BNF) definitions.

    BNF is a description method used to define language syntax for compilers.

    In other words, it's a language for building languages. You can read more about BNF at wikipedia: http://en.wikipedia.org/wiki/Backus-Naur_form

    For practical examples, pick up any book on compiler/parser/language design. The classic text in the field is the "dragon" book. It too has a wikipedia entry: http://en.wikipedia.org/wiki/Compilers:_Principles,_Techniques,_and_Tools
     
    sea otter, Mar 25, 2007 IP
  6. ccoonen

    ccoonen Well-Known Member

    Messages:
    1,606
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    160
    #6
    Pascal declarations are like A:=B but maybe its like in PHP when you can have VarVars? $$ = :: maybe? (Just my 2 centz)
     
    ccoonen, Mar 25, 2007 IP
  7. rndm87

    rndm87 Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    ouh, at last i found it. its Thue. realy old programming language and the compilator for win32 is not working at all...
     
    rndm87, Mar 26, 2007 IP