Skip to content

Bubble sort: run MATLAB implementation and Markdown fixes #350

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

Merged
merged 3 commits into from
Aug 19, 2018

Conversation

berquist
Copy link
Member

@berquist berquist commented Aug 9, 2018

No description provided.

@Gathros Gathros added Implementation This provides an implementation for an algorithm. (Code and maybe md files are edited.) Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.) and removed Implementation This provides an implementation for an algorithm. (Code and maybe md files are edited.) labels Aug 10, 2018
Copy link
Member

@jiegillet jiegillet left a comment

Choose a reason for hiding this comment

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

Sounds good.
I discussed a bit the use of a different language for purposes of formatting, no one seemed to have a problem with it.

@jiegillet jiegillet merged commit a1a078d into algorithm-archivists:master Aug 19, 2018
@berquist berquist deleted the bubble-sort-md-fixes branch August 19, 2018 20:34
@berquist
Copy link
Member Author

I don't understand. Racket is a Scheme, and there is no Racket in highlight.js (your version or the new one), only Scheme.

@jiegillet
Copy link
Member

"Racket is a Scheme" was a bit hard to understand for us since no one knew Scheme or Racket.
I don't know why Racket isn't in highlight.js, I don't think we've modified that file before. If you want to give it a try, please do!

@berquist
Copy link
Member Author

Ok, in case you don't know, this can be confusing. In the 70s, Lisp evolved into essentially two different major forms: Common Lisp and Scheme (Clojure is probably the third but new, and Emacs Lisp the antiquated fourth). Because the language specifications are relatively small (compared to say C++), there are different dialects and implementations of each. Saying "Racket is a Scheme" means Racket implements some part of the Scheme language standard, plus a bunch of non-standard extra functionality that differentiates Racket from Chicken and Chez. There can also be non-dialect implementation differences, like how one would expect Intel compilers to produce faster code on Intel CPUs than GNU compilers, etc.

However, all dialects of Scheme and Common Lisp will share a common set of core language keywords (define in Scheme, defun in CL/Elisp). That is what the different syntax highlighting covers, and why you shouldn't expect anything other than a very specialized editor or editor mode to differentiate deeper than (Common) Lisp, Emacs Lisp, Clojure, or Scheme.

@jiegillet
Copy link
Member

Thank you, that was very helpful.
Now knowing that, that makes me think there should be a way to define "alias" languages that redirect all Schemes to Scheme. Unfortunately every time I looked into those highlight source code, my head got dizzy :p

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Implementation Edit This provides an edit to an algorithm implementation. (Code and maybe md files are edited.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants