PrismJS / PrismJS/prism

Add Dune support to Prism

Open
#3,725 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

language-definitions new language
Dominant language
JavaScript
Stars
13k
Forks
1.4k
Avg merge
15h 36m
Merged PRs (30d)
3

Description

Language
Dune is a makefile-type build system for OCaml, used to compile projects. From what I understand, dune files are compiled in bytecode.

Additional resources
Offical docs: https://dune.readthedocs.io/en/latest/index.html
I also found this PDF version of the docs (warning: it's dense): https://readthedocs.org/projects/dune/downloads/pdf/latest/

Dune looks like this:

(lang dune 3.0)
(executable       % indicates an executable (not a library) is to be built
	(name main))  % name of the main file, entry point
% dune build main.exe
% _build/default/main.exe
Hello world!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the official Dune documentation linked in the issue and the sample syntax shown there. Add Prism support for the demonstrated Dune constructs, then verify that the sample is highlighted correctly and that the supported syntax matches the documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.