Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Add support for Delphi #543

Open
wants to merge 225 commits into
base: release-10-Feb-2013
Choose a base branch
from
Open

Add support for Delphi #543

wants to merge 225 commits into from

Conversation

anton-shchyrov
Copy link

Delphi is similar to pascal but has some differences

  • Delphi have line comment syntax
  • And more reserver words

I attach a separate color scheme, but it is fully compatible with the "Pascal" scheme and, perhaps, you just need to replace the Pascal scheme

lang-delphi.js.zip

…o use the google code download upload script
… the loader works even though there is only a source for lang-lisp.js which registers a handler for lang-scm
amroamroamro and others added 23 commits January 26, 2017 13:43
- log results in a "report" container
  (that way tests can be run using test_in_node script)
- show differences in tables
- takes care of empty attribs like class="" or style=""
  left behind in certain cases
- also process output of JSON stringify necessary in some cases
  so that the tests pass
It is needed because lang-*.js files are dependent on prettify.js being
loaded first, but scripts dynamically inserted using document.write are
executed asynchronously in no guaranteed order..

This was causing the tests to fail when run under zombie/jsdom (using
test_in_node), while running in a live browser didn't always manifest
the problem.
this fixes a failing test in numberLines_test.html
* First, crude version of the elixir language handler.

* multiple elixir plugin improvements - attributes, atoms, strings, ...

* elixir-lang - added support for number literals with underscores

* elixir-lang: added support for atoms as keys in keyword lists

* Elixir: added support for sigils, simplified the keywords regex

* Elixir: added more keywords from Kernel.SpecialForms

* Elixir: adding missing keywords and more permissive atom/variable names

* Elixir: better support for binaries/bitstrings

* Elixir: added support for the `iex` prompt for interactive examples

* added a failing test for elixir

* Elixir: fixed the failing test for elixir syntax highlighting

* Elixir: Highlighting constructs like `%{"THIS": :foo}` as atoms

* Elixir: fixed false-positive highlighting for 0XFF and 0O77

* Elixir: fixing the license text.

* Elixir: fixing multiline charlists

* Elixir: more robust multiline strings and charlists

* Elixir: making string recognition simpler and more correct
* Kotlin support

* Added string interpolation

* Added more keywords
* added module.exports

* modified module.exports to incl. prettyPrintOne

* added include paths for css preprocessor support

* fix window not defined issue with browserify

* Change to prettify.js for better React support

* moved node logic to js-modules/node_prettify, modified grunt tasks

* remvoed redundant closure-compiler flag
The current download link, linked to a `.tgz` file that no longer exists. This fixes it be pointing to the `.zip`
* update lang-lasso.js

- require word break after parameter local
- relocate keywords to follow types

* support for rest parameters

* faster string matching patterns
Ran `npm install && npm script grunt` to regenerate loader directory
and srcs.
E.g.

    import { foo, bar } from './lib.mjs';
@googlebot
Copy link

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

📝 Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and have the pull request author add another comment and the bot will run again. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

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

Successfully merging this pull request may close these issues.