8000 GitHub - maxwrlr/monaco-python: A Python Language Server Interface for the Monaco Editor
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

maxwrlr/monaco-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Support for the Monaco Editor

This project demonstrates how Python Code can be written in the Browser while static code analysis features are provided.

The implementation is using the Monaco editor as a base and the jedi-language-server as the language server. This project is basically about building the interface between both packages.

The most important parts are:

  • index.ts: The main script which instantiates the Monaco editor and implements the interface to the WebWorker that is the Language Server.
  • worker.ts: The web worker script, that manages Pyodide and the Language Server.
  • worker.py: The python code, that is actually running the Language Server.
  • Pyodide and its packages: Further information is in a separate README.

I originally wrote this code inside a larger project for my (undisclosed) bachelor thesis.

Usage

The start command is defined in the package.json. Therefore, just run yarn start.

About

A Python Language Server Interface for the Monaco Editor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0