Skip to content

Steps to get bap source tree available for navigation in ocaml lsp #1322

@sidkshatriya

Description

@sidkshatriya

I'd like to be able to navigate the full bap source tree using ocaml lsp. This is to help me understand bap source code...

What steps do I need to follow to achieve that?

I've tried:

  1. Creating a fresh switch with OCaml 4.12
  2. opam install oasis
  3. ./configure --enable-everything
  4. Unfortunately configure complains that a lot of dependencies are missing and I'm unable to make. Should I install those dependencies myself?

If ocaml lsp is not possible, I guess I could try to use merlin directly. However, I still am not able to build "manually" everything from source. I also keep getting mysterious ppx_bap < 0.14.0 requirements (which cannot be fulfilled).

I've tried a lot of approaches involving opam install bap --deps-only, pinning etc. but I'm not able to get things working for development. (A simple opam install bap in a fresh switch will work for running bap not for development).

Sorry I've missing something basic/trivial. I'm not very familiar with the oasis workflow...

Would appreciate if you can point me in the correct direction...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions