Skip to content

Service that works like emulator of code Python, C and Java.

Notifications You must be signed in to change notification settings

JavierArredondo/LanguageService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language Service

To consume the post method, just consult the following url: 207.154.197.207:1313/code

Where code is a JSON, the structure is about (only for execute code):

{
  "lang": "Some language (Python, C or Java)",
  "code": "Block of code"
}

If you want execute code and check this, the structure is about:

{
  "lang": "Python",
  "code": "def suma(x, y):\n\treturn x + y\nprint (\"Hola\")",
  "p1": "1,2",
  "p2": "2,3",
  "p3": "3,4",
  "function": "suma" 
  }

Where p1, p2 and p3 are the parameters for the function that you want check and function is the function that you want check.

In this moment, the service support Python, C and Java, but to implement another language is easy.

About

Service that works like emulator of code Python, C and Java.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published