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

feat(core): Haskell support added for stop words and repository context #1517

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Nisarg1112
Copy link

This PR adds support for Haskell language in Tabby language.
I've added stop words and Repository context support for Haskell.

@Nisarg1112 Nisarg1112 mentioned this pull request Feb 23, 2024
2 tasks
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.09%. Comparing base (ccf3321) to head (ab9346d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1517      +/-   ##
==========================================
+ Coverage   49.08%   49.09%   +0.01%     
==========================================
  Files         108      108              
  Lines        8463     8463              
==========================================
+ Hits         4154     4155       +1     
+ Misses       4309     4308       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@wsxiaoys
Copy link
Member

Thanks for the PR! Could you:

  1. Update the support status in https://tabby.tabbyml.com/docs/programming-languages and mark haskell will be ready since v0.9
  2. Have you verified the query's behavior in Code Browser? Mind to share a few screenshot?

@wsxiaoys wsxiaoys changed the title Haskell support added for stop words and repository context feat(core): Haskell support added for stop words and repository context Feb 23, 2024
@Nisarg1112
Copy link
Author

Hey @wsxiaoys , I'm new to this scheme language. Can you please help me with an example of how can I actually verify the behaviour of query in my code browser.

I tried running csharp.scm in vs code, But encountered issues like -

Error: unbound variable: class_declaration

	Call history:

	<syntax>	  (##core#quote #f)
	<syntax>	  (##core#quote #f)
	<syntax>	  (##core#begin (##core#require expand chicken.syntax))
	<syntax>	  (##core#require expand chicken.syntax)
	<syntax>	  (chicken.load#load-unit (##core#quote expand) (##core#quote #f) (##core#quote #f))
	<syntax>	  (##core#quote expand)
	<syntax>	  (##core#quote #f)
	<syntax>	  (##core#quote #f)
	<eval>	  (chicken.load#load-unit (##core#quote library) (##core#quote #f) (##core#quote #f))
	<eval>	  (chicken.load#load-unit (##core#quote library) (##core#quote #f) (##core#quote #f))
	<eval>	  (chicken.load#load-unit (##core#quote expand) (##core#quote #f) (##core#quote #f))
	<syntax>	  ((class_declaration (identifier) @name) @definition.class)
	<syntax>	  (class_declaration (identifier) @name)
	<syntax>	  (identifier)
	<eval>	  ((class_declaration (identifier) @name) @definition.class)
	<eval>	  (class_declaration (identifier) @name)	<--

I'm not aware of how can I actually verify the query's behaviour, can you please guide me with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants