Skip to content

Commit 6c5f261

Browse files
authored
(DOCSP-44543): Add support for missing Drivers languages (#151)
* Add support for missing Drivers languages * Add support for both PHP comment types * No joy for Jupyter Notebooks
1 parent 5e3dd73 commit 6c5f261

23 files changed

+156
-9
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include <stdio.h>
2+
int main() {
3+
printf("Hello, World!");
4+
return 0;
5+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import "fmt"
2+
3+
func main() {
4+
fmt.Println("hello world")
5+
}
6+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/*
2+
* Here's some block comment on multiple lines.
3+
*/
4+
auto something = SomeClass::state::something;
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Here's a comment with an octothorp
2+
<?php
3+
echo "Have an octothorpe! #";
4+
?>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// Here's a comment with slashes
2+
<?php
3+
echo "Fun with PHP!";
4+
?>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<?php
2+
echo "Hello World!";
3+
?>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("This line will be printed.")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
puts "Hello World"
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello World!");
3+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
object Hello {
2+
def main(args: Array[String]) = {
3+
println("Hello, world")
4+
}
5+
}

0 commit comments

Comments
 (0)