472,952 Members | 1,835 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,952 software developers and data experts.

Railroad diagram definition

[This may not be on topic as it's not .net-specific, but I tried to find the
most general MSDN forum I could.]

I'm trying to find a general definition/specification for railroad diagrams.
All I find online are explanations by authors who explain what _their_
particular format uses, but they leave me wondering if they are using only a
subset of the possible structures. And there are a few that seem to use
rather unique structures.

Is there a standard? Does each author create his own? There must be a set of
dos and don'ts somewhere!
May 8 '06 #1
4 1817
What is a "railroad diagram"? Are you talking about a sequence diagram?
If so, there are a number of good books on UML2 that will describe the
entire standard.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"PIEBALD" <PI*****@discussions.microsoft.com> wrote in message
news:CD**********************************@microsof t.com...
[This may not be on topic as it's not .net-specific, but I tried to find
the
most general MSDN forum I could.]

I'm trying to find a general definition/specification for railroad
diagrams.
All I find online are explanations by authors who explain what _their_
particular format uses, but they leave me wondering if they are using only
a
subset of the possible structures. And there are a few that seem to use
rather unique structures.

Is there a standard? Does each author create his own? There must be a set
of
dos and don'ts somewhere!

May 10 '06 #2
> What is a "railroad diagram"?

Exactly. And if Microsoft doesn't know...

Anyway, like Pascal syntax diagrams, they describe grammars. If you search
the web you can find lots of examples, but no definitive specification. The
closest I've found is at:

http://www.serve.com/~josh/books/jav...ef/ch01_05.htm

But even this really just gives a few simple examples. I guess it's
difficult to define a grammar for a diagram.
May 10 '06 #3
"PIEBALD" <PI*****@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com...
What is a "railroad diagram"?
Exactly. And if Microsoft doesn't know...


unfair. If Nick Malik doesn't know... Microsoft has 60,000 people. I speak
for one.

Anyway, like Pascal syntax diagrams, they describe grammars. If you search
the web you can find lots of examples, but no definitive specification.
The
closest I've found is at:

http://www.serve.com/~josh/books/jav...ef/ch01_05.htm

But even this really just gives a few simple examples. I guess it's
difficult to define a grammar for a diagram.


The link you provided gives you the answer: Railroad diagrams are simply a
visual representation for BNF. They are visual to make them easier to READ.
It says nothing about making grammars easier to write. My guess is that the
authors of this diagram are using it for illustration, but have no intention
of actually using it to create a new grammar. They would still use BNF for
that.

It is difficult to define a grammar for anything. Diagrams are not harder
than other mechanisms. UML is a diagramming grammar.

The fact that you cannot find a grammar for this diagram type may simply be
because no one was interested in using it for more than simple illustration.
(my guess only)
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
May 10 '06 #4
> > Exactly. And if Microsoft doesn't know...

unfair. If Nick Malik doesn't know... Microsoft has 60,000 people. I speak
for one.
That was just a dig.
The link you provided gives you the answer: Railroad diagrams are simply a
visual representation for BNF. They are visual to make them easier to READ.
It says nothing about making grammars easier to write. My guess is that the
authors of this diagram are using it for illustration, but have no intention
of actually using it to create a new grammar. They would still use BNF for
that.


Still, there ought to be a standard. Such a standard would further the ease
of understanding by the reader, one would not need to learn a whole new form
each time one reads a new document. It would also make it easier for the
writer as well.

At this point I have to read a number of such descriptions and distill the
various forms to find their similarities.
May 10 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dean Arnold | last post by:
I checked the 7.4 PL/pgSQL docs but couldn't find a concise grammar description e.g. a BNF diagram...is any such thing available online ? I'm looking to possibly port a stored procedure debugger...
1
by: Maria | last post by:
Heya, I am doing some background reading about the database and i am a little bit confused, i would appreciated any help.... Assume been asked to draw the ER diagram for the following...
6
by: Paul McGuire | last post by:
Back in the mid-90's, Kees Blom generated a set of railroad syntax diagrams for Python (http://python.project.cwi.nl/search/hypermail/python-1994q3/0286.html). This pre-dates any Python awareness...
3
by: Terry | last post by:
I have added some tables to the MS Access relationship diagram window (2003) and added some relationships. But after a while when I reopen the diagram some of the tables are hidden above the top of...
2
by: sangu_rao | last post by:
Hi, I have to prepare an ER diagram for the objects in my SQL Server database. I have used the option "DIAGRAMS" in EnterPrise Manager of SQL Server 2000. It is creating the diagram for the...
70
by: Anson.Stuggart | last post by:
I'm designing a debounce filter using Finite State Machine. The FSM behavior is it follows the inital input bit and thinks that's real output until it receives 3 consecutive same bits and it...
1
by: Oskar Bennet | last post by:
Hi everybody, I am supposed to draw a simple UML diagram for a very small project that consists of less than a dozen classes. I have never been working with UML before, I have read some tutorials...
13
by: Doug | last post by:
Hi all, A workmate was recently bitching to me about an RFC. (Apologies - the RFC number eludes me at present (it's related to the DIAMETER protocol, that's all I can remember) but I will try...
0
by: viepia | last post by:
Hi, My project writes records to a new SQL Server 2005 database with currently 18 tables. When I change the Database Diagram for my database I save the copy the list of changed tables to a...
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.