Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Provide autocomplete API with language specification. #38

Open
4 tasks
abargnesi opened this issue Apr 19, 2016 · 0 comments
Open
4 tasks

Provide autocomplete API with language specification. #38

abargnesi opened this issue Apr 19, 2016 · 0 comments
Labels

Comments

@abargnesi
Copy link
Member

abargnesi commented Apr 19, 2016

Motivation

The bel.rb gem provide a completion API that can autocomplete BEL terms. Currently the implementation hard-codes a BEL 1.0 language specification. The completion APIs should be given a language specification to use when completing. This will allow a user to complete terms for BEL 1.0, 2.0, and up.

Tasks

  • Add bel_parser as a runtime gem dependency to bel.rb.
  • Update bel.rb's completion API (lib/bel/completion.rb, lib/bel/completion_rule.rb) to receive a BEL specification.
  • Use the provided BEL specification to complete functions names.
  • Update the /api/completion route in OpenBEL API to pass the configured BEL specification to the completion API (defined by bel.rb).
@wshayes wshayes removed their assignment May 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants