programming-languages

How do you create a computer or scripting language for an application?

Duplicate of: Learning to write a compiler Documentation on creating a programming language Learning Resources on Parsers, Interpreters, and Compilers Suggestions for writing a programming language? Compiler-Programming: What are the most fundamental ingredients? Are there some online resources about compiler principle? and others I'...

What is the best language to write a compiler in?

What is the best language to write a compiler in (not for)? ...

What's the simplest, most concise web technology to build an app with on Google App Engine?

Now that Java has allowed multiple additional languages to run on top of Google App Engine, which of the newly available languages would allow an app to be developed the most simply and concisely? Let's assume most people are aware of Ruby on Rails, PHP, Coldfusion and Python/Django and we can take for granted that these are pretty simpl...

Where is Java going?

I'm an experienced Java programmer that for the last two years have programmed for necessity in C# and Javascript. Now with this two languages I have used some interesting features like closures and anonymous function (in effect with the c/c++ I had already used pointer functions) and I've appreciated a lot how the code has became cleare...

JVM/CLR Source-compatible Language Options

I have an open source Java database migration tool (http://www.liquibase.org) which I am considering porting to .Net. The majority of the tool (at least from a complexity side) is around logic like "if you are adding a primary key and the database is Oracle use this SQL. If database is MySQL use this SQL. If the primary key is named ...

Can a language be turing complete but incomplete in other ways?

For example, are there certain things when writing an operating system that cannot be accomplished in a turing complete language? ...

'Translation' dilemma

Hello, I'm trying to build a website that reads Icelandic texts written in a particular font which are then rendered in a different character encoding (ascii/uc) and cached before finally being displayed. What language is best suited for the job? Python or PHP? Or anything else? Thanks in advance. ...

What do you wish was automatic in your favorite programming language?

As a programmer, I often look at some features of the language I'm currently using and think to myself "This is pretty hard to do for a programmer, and could be taken care of automatically by the machine". One example of such a feature is memory management, which has been automatic for a while in a variety of languages. While memory man...

wizard that create code in multiple programming languages

Hello all as part of our application i need to build component that will output code in php and asp that have the same functionality ( and maybe latter jsp ) . how can i design this kind of component to be generic as possible ? ...

Global Keyboard Hooks (C#)

Hey, I was wondering if anyone could help me setup a Global Keyboard Hook for my application. I want to set Hotkeys (Such as Ctrl+S) that can be used when not focused on the actual form. Anyone got an idea? ~Regards Luke ...

Programming language named "C Set 2"

Does anyone know anything about a programming language named "C Set 2" which is referenced in the SEI statistics on function point metrics? I tried to google something about this programming language but this languages name is a collection of non-googlish keywords. ...

Teaching programming and formal methods

Here's a sort of odd question. I'm in the process of writing a book on learning to program using formal methods, and I'm going to target it toward people with some programming experience. The idea is to teach them to be high-quality programmers. The basic notation is going to be from Dijkstra's Discipline of Programming, along with so...

Why higher order procedures??

So if a language provides higher order procedure then I can have procedure that returns procedure... something like (define (Proc a b c) (lambda (x) ( // method body here in terms of a b c and x))) To create new proc I would just do something like.. (define ProcA (Proc a1 b1 c1)) // Would create ProcA that has 1 argument Similar task...

What would be a great way to really learn C?

I've only used higher-level languages (Perl, Python, Java) for projects at work and at school, and I've only tinkered with C++ and C enough to fix bugs or add some classes to a project. I've read The C Programming Language and grok it, and I'm an avid Linux user. I want to immerse myself in C by working on something other than a toy pro...

I want to find a computer language that has a common name

About 10 years ago, I was using a computer language called INFO on an ancient Prime. It was a funky, but oddly useful language, and I'd like to find out more about it. For instance, can I get a copy that would run on a PC? However, if I google for "INFO" and "Computer Language," I'm not going to find it. I've tried. I think the comp...

What is the best book for Programming Language Theory?

What is a good book that covers the topics of grammars (context-free and context-sensitive) and their notations (EBNF, BNF, etc), syntax, type and programming language theory, etc? I'm not really digging the textbook we used at my school for our "Programming Languages" class and I'm looking to supplement some of the topics we covered wi...

Why do most programming languages only give one answer to square root of 4?

Most programming languages give 2 as the answer to square root of 4. However, there are two answers: 2 and -2. Is there any particular reason, historical or otherwise, why only one answer is usually given? ...

Stratego/XT Programming Language

Does anyone know something about Stratego/XT Programming Language? What is it good for? Any good and/or bad experiences with it? Any real live running example? Thanks a lot. ...

How does code written in one language get called from another language

This is a question that I've always wanted to know the answer, but never really asked. How does code written by one language, particularly an interpreted language, get called by code written by a compiled language. For example, say I'm writing a game in C++ and I outsource some of the AI behavior to be written in Scheme. How does the c...

What is the best language and best tools for developing a desktop application with a database?

I mean by that, for a small app, what would be the best database, best IDE, best language, best tools and easy to deploy? Thanks, everybody! ...