Thread: Extended Backus-Naur Form

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    110

    Extended Backus-Naur Form

    Simple question really. I am after some help in understanding EBNF as a means for dissecting an email header (email header as defined in RFC 822). So if you know of any resources that can help with informing me about EBNF or with the spirit library (apart of the boost c++ library which is what I have chosen to use to implement the EBNF).

    Later,
    WebmasterMattD (Why are you downcast. O my soul? Why so disturbed within me? Put your hope in God, for I will yet praise him, my saviour and my God.)
    http://www.webmastermattd.net
    ===================
    Accountability n. Being brought before God and asked to explain your actions.
    Piety n. Translating the Bible into ASCII by hand.
    Evangelism n. Forcing others to counter you overtly christian sig

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Calling datas from another form?
    By Aga^^ in forum C# Programming
    Replies: 2
    Last Post: 02-06-2009, 02:17 AM
  2. Button handler
    By Nephiroth in forum Windows Programming
    Replies: 8
    Last Post: 03-12-2006, 06:23 AM
  3. Accessing main form from functions in other classes
    By pj_martins in forum C++ Programming
    Replies: 1
    Last Post: 11-05-2004, 09:27 AM
  4. My UserControls dissapear off my form
    By zMan in forum C# Programming
    Replies: 2
    Last Post: 09-15-2004, 08:55 AM
  5. Making an MFC form to suit
    By TJJ in forum Windows Programming
    Replies: 1
    Last Post: 04-17-2004, 11:20 AM