Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL Context Free Grammar

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
alumman

New User


Joined: 25 Apr 2014
Posts: 2
Location: US

PostPosted: Mon Apr 28, 2014 6:14 pm    Post subject: JCL Context Free Grammar
Reply with quote

Anyone have a source for a context free grammar for JCL?

Thanks!!
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Apr 28, 2014 6:35 pm    Post subject: Reply to: JCL Context Free Grammar
Reply with quote

it will be very difficult to write a context free grammar
for a language that is NOT context free
Back to top
View user's profile Send private message
alumman

New User


Joined: 25 Apr 2014
Posts: 2
Location: US

PostPosted: Mon Apr 28, 2014 6:48 pm    Post subject: Reply to: JCL Context Free Grammar
Reply with quote

Can you explain why JCL is not context free please?

Please excuse my ignorance; its been a long time since my language theory classes in school.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Apr 28, 2014 7:09 pm    Post subject: Reply to: JCL Context Free Grammar
Reply with quote

positional attributes/parms for example
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 645
Location: Pennsylvania

PostPosted: Mon Apr 28, 2014 7:27 pm    Post subject:
Reply with quote

Please excuse my ignorance as well, but...

What is this grammar, with regards to JCL or any computer language?

What does context free grammar mean as well?

I know JCL pretty well, I learned it on punch cards in 1984!
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Mon Apr 28, 2014 8:48 pm    Post subject:
Reply with quote

For a computer language, a grammar is a set of rules on how to produce strings in the language. There is no meaning attached to those strings -- the grammar merely describes how to produce the various language strings.

A context-free grammar is one where the context doesn't matter to the language generation; since JCL contains positional parameters (where context DOES matter), it cannot be context-free.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Apr 29, 2014 1:03 am    Post subject: Reply to: JCL Context Free Grammar
Reply with quote

You might be interested in

http://dinosaur.compilertools.net

http://memphis.compilertools.net
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Free FILE not working for specific users sankalp-goyal CLIST & REXX 12 Mon Apr 25, 2016 6:33 pm
No new posts How to "FREE" the memory of... Soumick Sarkar TSO/ISPF 6 Fri Mar 28, 2014 10:33 am
No new posts Free PDS-E space jerryte TSO/ISPF 12 Thu Oct 31, 2013 11:48 pm
No new posts % free space issue of the Storage Gro... Pete Wilson JCL & VSAM 6 Fri Feb 15, 2013 6:34 pm
No new posts Free Cobol compiler for Windows vidyakrishna PC Guides & IT News 12 Fri Feb 01, 2013 5:09 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us