r/ProgrammingLanguages • • 20d ago

Requesting criticism Can a programming language dispense with parentheses and conventional syntactic delimiters?

Hello everyone,

I'm an independent french developer working on an experimental programming language called PLUSHIE, and I'd like to discuss an idea behind its design.

I am new to this communty and I am not familiar with the expected behavior here, so do not hesitate to tell me if I am wrong.

I also apologize for my english whcih is far from perfect.

Most programming languages rely on explicit syntactic delimiters: parentheses, commas, spaces, operators, keywords, etc.

I've been exploring a different approach: what if a language could rely primarily on the recognition and sequencing of a small vocabulary of words?

In PLUSHIE, the parser scans the input and identifies known words. Their sequence determines how instructions are interpreted. Unknown text between recognized words can also become new vocabulary.

The underlying computational model is deliberately minimal. Instructions operate on a chained memory structure, and the language is designed so that its own structures and interpretation mechanisms can be modified while running

This raises several questions I'd be interested in discussing:

o How expressive can a language become without conventional syntactic delimiters?

o What are the fundamental limitations of a word-based parsing model?

o Could such a design offer interesting advantages for reflection and self-modification?

o and especially, Are there existing languages or theoretical models that explore similar ideas?

I'm not claiming this is a better approach than conventional syntax. I'm interested in understanding its possibilities and limitations.

PLUSHIE is an ongoing experiment, and I'm particularly interested in unexpected ideas, alternative approaches and constructive criticism.

What do you think? Is this a worthwhile direction to explore, or am I overlooking some fundamental difficulties?

24 Upvotes

125 comments sorted by

View all comments

Show parent comment

1

u/Pi-Plushie 20d ago

Oh, but nothing is wrong with syntactic delimiters ! You make me realize how bad my communication is (and that is an important outcome of this conversation) . The delimiters enable control of your program which is very important in computing, of course.

I agree that the risk for me is getting interesting people whose contribution would help me to roll their eyes. I do not intend to make an innovation (that is reducing control over the program instead of improving it), I am just exploring how far you can minimize all the control elements and still get an intersting behavior of your program, even if it is not what was initially intended.

PLUSHIE is an experiment, a kind of adventure for me. But I have reached a point where some fundamental theoritical question for which I am not a specialist could drive me where I want to get. I think there is something intersting about PLUSHIE that I'd like to share, but more in the direction of teatching (what you should not do), understanding computing and research: what happens with computing system if you lift the barrier (and do not fall into a bug which is the hard part)

Thank you for ypur precious input