aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply 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: 3670

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: 609
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 "The only rules that really matter are these: what a man can do and what a man can't do." Captain Jack Sparrow
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: 609
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Implementing General Programming Languages
 
Similar Threads
What is adapter in Java ?
question about degree programs
SCPJ languages
how database is connected by xml
<static inner class >issue