Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #122145 > unrolled thread
| Started by | Mr Flibble <flibble@red-dwarf.jmc.corp> |
|---|---|
| First post | 2025-04-09 19:56 +0000 |
| Last post | 2025-04-09 23:43 +0000 |
| Articles | 3 — 2 participants |
Back to article view | Back to comp.lang.c++
neos Universal Compiler and Tree-sitter Mr Flibble <flibble@red-dwarf.jmc.corp> - 2025-04-09 19:56 +0000
Re: neos Universal Compiler and Tree-sitter candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> - 2025-04-09 23:30 +0000
Re: neos Universal Compiler and Tree-sitter Mr Flibble <flibble@red-dwarf.jmc.corp> - 2025-04-09 23:43 +0000
| From | Mr Flibble <flibble@red-dwarf.jmc.corp> |
|---|---|
| Date | 2025-04-09 19:56 +0000 |
| Subject | neos Universal Compiler and Tree-sitter |
| Message-ID | <uhAJP.1197482$cgs7.552046@fx14.ams4> |
Hi! Interestingly whilst my project, neos (the universal compiler that can compile any programming language) is still a WIP I have already implemented functionality equivalent to what Tree-sitter provides: mapping between AST and original source code so you can do things such as syntax highlighting in a code editor. /Flibble
[toc] | [next] | [standalone]
| From | candycanearter07 <candycanearter07@candycanearter07.nomail.afraid> |
|---|---|
| Date | 2025-04-09 23:30 +0000 |
| Message-ID | <slrnvve0io.3d82b.candycanearter07@candydeb.host.invalid> |
| In reply to | #122145 |
Mr Flibble <flibble@red-dwarf.jmc.corp> wrote at 19:56 this Wednesday (GMT): > Hi! > > Interestingly whilst my project, neos (the universal compiler that can > compile any programming language) is still a WIP I have already > implemented functionality equivalent to what Tree-sitter provides: mapping > between AST and original source code so you can do things such as syntax > highlighting in a code editor. > > /Flibble Can we see an example? -- user <candycane> is generated from /dev/urandom
[toc] | [prev] | [next] | [standalone]
| From | Mr Flibble <flibble@red-dwarf.jmc.corp> |
|---|---|
| Date | 2025-04-09 23:43 +0000 |
| Message-ID | <HCDJP.824227$dBr6.220418@fx04.ams4> |
| In reply to | #122146 |
On Wed, 09 Apr 2025 23:30:03 +0000, candycanearter07 wrote: > Mr Flibble <flibble@red-dwarf.jmc.corp> wrote at 19:56 this Wednesday > (GMT): >> Hi! >> >> Interestingly whilst my project, neos (the universal compiler that can >> compile any programming language) is still a WIP I have already >> implemented functionality equivalent to what Tree-sitter provides: >> mapping between AST and original source code so you can do things such >> as syntax highlighting in a code editor. >> >> /Flibble > > > Can we see an example? Yes. https://github.com/i42output/neos/blob/master/languages/neoscript.neos https://github.com/i42output/neos/blob/master/languages/examples/neoscript/ fibonacci.neo /Flibble
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.c++
csiph-web