Skip to content

Create Portugol.por #1

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

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions languages/CAML/CAML.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print_endline "Hello World";;
13 changes: 13 additions & 0 deletions languages/HTML5/html.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hello World page title </title>
</head>
<body>
<!-- Hello world in HTML 5 -->
Hello, World!
</body>
</html>
5 changes: 5 additions & 0 deletions languages/Objective-C/hello.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#import <Foundation/Foundation.h>

int main(int argc, char * argv[]) {
NSLog(@"Hello, World!");
}
7 changes: 7 additions & 0 deletions languages/Pascal/hello.pas
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
program HelloWorld;
uses crt;

begin
writeln('Hello, World!');
readkey;
end.
3 changes: 3 additions & 0 deletions languages/Perl/hello.pl
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/perl
use warnings;
print("Hello, World!\n");
19 changes: 19 additions & 0 deletions languages/Portugol/portugol.por
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
programa
{

funcao inicio()
{
escreva("Olá Mundo")
}
}
/* $$$ Portugol Studio $$$
*
* Esta seção do arquivo guarda informações do Portugol Studio.
* Você pode apagá-la se estiver utilizando outro editor.
*
* @POSICAO-CURSOR = 12;
* @PONTOS-DE-PARADA = ;
* @SIMBOLOS-INSPECIONADOS = ;
* @FILTRO-ARVORE-TIPOS-DE-DADO = inteiro, real, logico, cadeia, caracter, vazio;
* @FILTRO-ARVORE-TIPOS-DE-SIMBOLO = variavel, vetor, matriz, funcao;
*/
3 changes: 3 additions & 0 deletions languages/Rust/hello.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello World!");
}
5 changes: 5 additions & 0 deletions languages/Scala/Hello.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
object Hello {
def main(args: Array[String]) = {
println("Hello, World!")
}
}
2 changes: 2 additions & 0 deletions languages/Swift/hello.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import Swift
print("Hello, World!")