File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Implementing General Programming Languages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Implementing General Programming Languages" Watch "Implementing General Programming Languages" New topic
Author

Implementing General Programming Languages

Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3825

Hi Terence,

What are the things included in explaining about creating General Programming Languages in the book?

Thanks,


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
Vijitha,
Good question, we've been focusing on DSLs for most of the week. I'd forgotten the title even mentioned General Programming Languages. Did you look at the table of contents? I posted a link to the full one in another thread and it got copied into the Welcome-Terence-Parr thread at the top of the forum.

Burk


SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
Terence Parr
author
Ranch Hand

Joined: Jan 13, 2010
Posts: 35
Vijitha Kumara wrote:What are the things included in explaining about creating General Programming Languages in the book?


Implementing DSLs and general-purpose programming languages have a huge amount, hence, it makes a lot of sense to deal with them together in the implementation patterns book. The difference lies largely in degree. For example, in a simple scripting language, you might only have one scope of variables whereas in Java you have all sorts of nested scopes. The book identifies the various symbol table patterns common to most programming languages and scripting languages. Either you have a single monolithic scope, nested scopes like C, data aggregate scopes like C structs, and finally class hierarchies and object-oriented languages like C++. I think of configuration files such as property files as being scripts. There is a single global scope in which we put all the properties.
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
    
    3
Terence Parr wrote:Implementing DSLs and general-purpose programming languages have a huge amount, hence, it makes a lot of sense to deal with them together in the implementation patterns book.


Terrence,

I'm guessing you meant to say that DSLs and GPLs have a huge amount of overlap.

Burk
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Implementing General Programming Languages