question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

scheme language issues

See original GitHub issue

So I found few issues:

  • string don’t start with ' in scheme ' is for quote (you can quote names, which become symbols or lists) (#2263) solution: remove |'[^('\s]* from string regex
  • lambda,define have first parameter mark as function invocation (lambda (foo bar) (concat foo bar)) foo is mark as function, I’ve try to came up with regex but was not able to find one. (#2263)
  • function without argument is not marked as function solution: /(\()[^\s()]*(?=[\s)])/, added (?=[\s)]) instead of (?=\s) (#1463)
  • ~numbers that don’t have space before them are not marked as numbers solution: optional space in the beginning of number regex (\s?|[()])~

Wanted to create PR but don’t know how to fix function with define and lambda.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
jcubiccommented, Mar 24, 2020

I think that this do the trick for last number issue:

/([\s()])[-+]?\d*\.?\d+(?:\s*[-+]\s*\d*\.?\d+i)?([\s()])/

([\s()]) at the end, instead of \b, same as at the begining, but I need to run the tests to be sure that this don’t break anything.

0reactions
RunDevelopmentcommented, Apr 7, 2020

#2263 is merged and I think it addresses all issues here. Feel free to reopen this in case I missed something.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Parentheses and Indenting - UT Computer Science
The two biggest barriers to learning Scheme are probably parentheses and indenting. In Scheme, parentheses are used a little differently than in most ......
Read more >
Scheme on Exercism
Scheme is a statically scoped and properly tail-recursive dialect of the Lisp programming language invented by Guy Lewis Steele Jr. and Gerald Jay...
Read more >
Scheme Exercises - Gettysburg Computer Science
Your real education begins as you approach problems, simple or complex, and translate your solutions into Scheme code. At first, there will be...
Read more >
Comprehensive Guide To Scheme Programming Language
A scheme Programming language supports almost all of the programming protocols such as POP, ActiveX, SMTP, IMAP, HTTP, XML, and many more. These...
Read more >
Scheme Programming Weeks 1 and 2
Group work to get acquainted with Scheme is OK, and asking and answering general questions about how things work is OK. But aside...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found