I wanted to make a thread to collect links to tutorials and software related to creating a programming languages.
ANTLR4 mega tutorial here:
https://tomassetti.me/antlr-mega-tutori ... #chapter11
It might someday be a good idea to crowd-fun some training/consult from that company in the link above.
Languages Lexer, Parsers, Compilers, etc.
- OpenXTalkPaul
- Posts: 2414
- Joined: Sat Sep 11, 2021 4:19 pm
- Contact:
- richmond62
- Posts: 4271
- Joined: Sun Sep 12, 2021 11:03 am
- Location: Bulgaria
- Contact:
Re: Creating Languages - Lexer, Parsers, Compilers, etc.
Surely 'extending and modifying' rather than 'creating'?
A guide on how to "attach an extra leg" to xTalk would be extremely useful: and then how to 'fold back in' that "extra leg" so that other people could take advantage of it.
I do not mean XCMD type add ons, but modifying the mother-ship.
A guide on how to "attach an extra leg" to xTalk would be extremely useful: and then how to 'fold back in' that "extra leg" so that other people could take advantage of it.
I do not mean XCMD type add ons, but modifying the mother-ship.
https://richmondmathewson.owlstown.net/
- OpenXTalkPaul
- Posts: 2414
- Joined: Sat Sep 11, 2021 4:19 pm
- Contact:
Re: Creating Languages - Lexer, Parsers, Compilers, etc.
I'm interested in xTalk language interpreter(s) that can output compiled code either ahead of time or just-in-time, runtime engine(s) to run on many platforms, that's why I'm interested in ANTLR
(HyperTalk 2.4 xTalk agrammar here: https://github.com/antlr/grammars-v4/bl ... perTalk.g4),
ANTLR:
They have courses.
I'm not sure what you're on about really. We already have a C++ parser and runtime engine, that's true, so I changed the title of the thread so as to not exlude preexisting xTalk interpreting engine(s).
Anyway the topic is related to the whole xTalk thing here. If you aren't interested in this topic then just keep scrolling on to the next topic.
I think I'm going to start collecting information in more 'Stickie' type threads that I can add to. It's getting difficult to re-find old topics later.
(HyperTalk 2.4 xTalk agrammar here: https://github.com/antlr/grammars-v4/bl ... perTalk.g4),
ANTLR:
and it's why I'm interested in the sort of training and information, and type of work this company does (I added the bold for emphasis):What is ANTLR?
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees.
https://strumenta.com/antlr-consulting/Services we offer based on ANTLR
We build parsers based on ANTLR. We can provide parsers written in C++, Python, Javascript, C#, Java, or any other language supported by ANTLR. If you have the specifications of an existing language, or some examples we can create, test and deliver to you a parser that we guarantee to work.
They have courses.
I'm not sure what you're on about really. We already have a C++ parser and runtime engine, that's true, so I changed the title of the thread so as to not exlude preexisting xTalk interpreting engine(s).
Anyway the topic is related to the whole xTalk thing here. If you aren't interested in this topic then just keep scrolling on to the next topic.
I think I'm going to start collecting information in more 'Stickie' type threads that I can add to. It's getting difficult to re-find old topics later.
- OpenXTalkPaul
- Posts: 2414
- Joined: Sat Sep 11, 2021 4:19 pm
- Contact:
Re: Languages Lexer, Parsers, Compilers, etc.
Before reading the last answer to this Stack OverFlow question I hadn't realize you could use ANTL4 with Python, and so now I'm wondering if an xTalk interpreter could 'piggy-back' on top of Python.
https://stackoverflow.com/questions/230 ... ic-example
https://stackoverflow.com/questions/230 ... ic-example
Who is online
Users browsing this forum: No registered users and 1 guest