Syntax search engine SyntaxDB

Syntax search - SyntaxDB Search Engine
Syntax search – SyntaxDB Search Engine

Today I discovered a really nice syntax search engine for programming languages. You can search programming constructs like loops or conditions via an input field. You will get examples for the different programming languages.

That’s pretty cool, if you are a cross language programmer like me, because sometimes it’s hard to remember each construct in the different languages. Especially if you had a longer pause in that language. But of course it is also really helpful, if you are going to learn a new programming language and want to know how a certain language component, that you already know from other languages, is implemented in that languages.

Here is an example where I had looked up for loop. I got a list of the different loop implementations in the different programming languages.

Syntax search - Search results for Loop
Search results for “Loop”

Syntax search languages

At the moment it only supports the following languages:

  • Java
  • C
  • C++
  • C#
  • Python
  • Ruby
  • JavaScript
  • Swift
  • Go

Unfortunately there is no PHP support at the moment.  But I think, chances are height, that there will be more languages available soon. You can find the programming syntax search database under https://syntaxdb.com/.

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.