Connect with us

SPICE syntax and grammar

Discussion in 'Misc Electronics' started by [email protected], Sep 28, 2005.

Scroll to continue with content
  1. Guest

    Hi, does anyone know where I can get a formal Backus-Naur style syntax
    and/or grammar definition for any of the various SPICEs out there?

    Specifically, hspice, pspice, or berkeley spice. What is the
    difference from a grammar/syntax perspective?


    thanks
    ms
     
  2. Guest

    Huh?

    Why are you focusing of the specific syntax used by an application
    program, rather than on understanding the nature of the data being
    entered?

    I've probably only used pspice 5-6 times over the past 4 years, and I
    really couldn't care a hoot about what syntax is used.

    God knows why you want to find a formal Backus-Naur syntax based data
    entry today for a program as simple as pspice unless you are obsessed
    with developing an expertise in archaic methods.

    Realize that as much as many of us resist and hate them, GUI data entry
    now rules the world of computers.

    Kindest regards, Harry C.
     
  3. Guest

    Because I'm interested in writing a program that understands SPICE
    syntax, not because I want to write SPICE files manually. I want to
    write, for example, a simple linear equation solver, to get a feel for
    what's really going on inside spice, and to play with some software
    ideas about how circuit software should work. Eventually I'd like to
    write my own EDA tools, for the fun of it, and so I'd like to have the
    official format.
     
  4. Jasen Betts

    Jasen Betts Guest


    I think Oregano is open source, (you can probably extract a yacc grammar
    from that ...)

    Bye.
    Jasen
     
  5. Jasen Betts

    Jasen Betts Guest

    ISTM it could be handy to know the full language syntax if one wanted to
    define new circuit elements...
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-