Skip to content
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

[new release] gobba (0.4.1) #15690

Merged
merged 1 commit into from
Jan 19, 2020
Merged

Conversation

0x0f0f0f
Copy link
Contributor

A simple, didactical, purely functional programming language

CHANGES:
  • Renamed project from minicaml to gobba!
  • Syntax is now more haskel-ly: use , to separate list and dictionary values,
    use >> to sequence operations (bind) and use ; to end statements.
  • Improved purity inference algorithm with correct module inference
  • Some minor improvements

@0x0f0f0f 0x0f0f0f closed this Jan 17, 2020
@0x0f0f0f 0x0f0f0f reopened this Jan 17, 2020
@0x0f0f0f 0x0f0f0f force-pushed the release-gobba-0.4.1 branch 2 times, most recently from cb87a18 to 1d28833 Compare January 18, 2020 00:15

build: [
["dune" "build" "-p" name "-j" jobs]
[make "test" "-j" jobs] {with-test}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
[make "test" "-j" jobs] {with-test}
["sh" "-c" "GOBBA_EXAMPLES=$(realpath ./examples/) dune runtest -p %{name}% -j %{jobs}%"] {with-test}
["sh" "-c" "bisect-ppx-report -html coverage/ -I _build/default _build/default/test/bisect*.out"] {with-test}

This should be much better.
What is in your makefile is not correct for releases:

dune clean
dune build -j $(JOBS)
dune build @install
GOBBA_EXAMPLES=$(realpath ./examples/) dune runtest -f
bisect-ppx-report -html coverage/ -I _build/default _build/default/test/bisect*.out;

First of all, dune should never be called in releases without -p name or --profile=release, this might break this package in the future as dune turns some warnings as error by default. Then the package is built twice (dune build -p name -j jobs above, then dune clean & dune build again), this is unnecessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your dozens of suggestions!

build: [
["dune" "build" "-p" name "-j" jobs]
["sh" "-c" "GOBBA_EXAMPLES=$(realpath ./examples/) dune runtest -p %{name}% -j %{jobs}%"] {with-test}
["sh" "-c" "bisect-ppx-report -html coverage/ -I _build/default _build/default/test/bisect*.out"] {with-test}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
["sh" "-c" "bisect-ppx-report -html coverage/ -I _build/default _build/default/test/bisect*.out"] {with-test}

Arf sorry that's not working and needs rewiring (see ocaml/dune#57), but also this makes no sense for opam users anyway. I think having only the runtest phase is good enough, my bad.

CHANGES:

- Renamed project from minicaml to `gobba`!
- Syntax is now more haskel-ly: use `,` to separate list and dictionary values,
  use `>>` to sequence operations (bind) and use `;` to end statements.
- Improved purity inference algorithm with correct module inference
- Some minor improvements
@0x0f0f0f 0x0f0f0f force-pushed the release-gobba-0.4.1 branch from 6b3dd71 to 73068aa Compare January 18, 2020 15:40
@kit-ty-kate
Copy link
Member

Thanks

@kit-ty-kate kit-ty-kate merged commit f0da3f4 into ocaml:master Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants