-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for the D Programming Language #70
Comments
not before v3.1 or v3.2. btw. c/c++ highlighting should work (excluding keywords) |
C/c++ unfortunately only works in theory. D supports in addition to /* */ also /+ +/, which allows nested comments and is also used for instructions for the D package manager (Dub). This is an example how it should look like /+ dub.sdl:
name "application"
dependency "vibe-d" version="~>0.8.4"
dependency "vibe-d:tls" version="*"
subConfiguration "vibe-d:tls" "none"
+/
import vibe.vibe;
void main()
{
listenHTTP(":5000", &handleRequest);
runApplication();
}
void handleRequest(HTTPServerRequest req, HTTPServerResponse res)
{
if (req.path == "/")
res.writeBody("Hello, World!");
} If you say 3.1 or 3.2, what does this means in weeks/months? |
6 month ++ EnlighterJS v3.0.0 and the WordPress plugin v4 have a much higher priority for now....sry in case c++ works (with the exception of comments...i can create a simple addon by extending the c++ language definition with the creating a complete new support file takes a few hours/days... |
Could you also support D?
The generic hightlight engine looks odd.
The text was updated successfully, but these errors were encountered: