473,385 Members | 1,587 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 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 1838
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.