Skip to main content



      Home
Home » Language IDEs » PHP Development Tools (PDT) » What kind of Model is used for PHP language in PDT?
What kind of Model is used for PHP language in PDT? [message #1796283] Tue, 09 October 2018 09:47 Go to next message
Eclipse UserFriend
Hi,

I am checking the feasability of deriving the PDT work for an editor for a legacy language.
What we have here is a macro basic language which embedds PHP code.

I wanted to go the xtext way but it looks like there is no antlr v4 grammar for PHP 7 available. So i am asking you what PDT uses internally - maybe we can use it.

thank you,
Axel

p.s.:
The macro language uses something along the line of
<#tagXY
	key1			=	"bla"
	key2			=	"blabla"
	#>
<h1>Funky</h1>
<?php
	// do php stuff here
?>
<#/tagXY#>
Re: What kind of Model is used for PHP language in PDT? [message #1796489 is a reply to message #1796283] Mon, 15 October 2018 04:30 Go to previous message
Eclipse UserFriend
PDT use 2 models right now:
1. Basic model compatible with WTP that allow us embed PHP inside HTML files (WTP SSE)
2. DLTK model for language specific features, but there is a plan to switch into Handly in near future.

Our parser are written in JavaCUP / JFlex.

For you more interesting might be LSP4E - LanguageProtocol support and TM4E - textmate support
Previous Topic: Problems after upgrade
Next Topic:ignoring custom tags
Goto Forum:
  


Current Time: Wed Jul 02 14:25:23 EDT 2025

Powered by FUDForum. Page generated in 0.03555 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top