Coder Social home page Coder Social logo

hylo-lsp's People

Contributors

koliyo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hylo-lsp's Issues

Windows build

D:\a\hylo-lsp\hylo-lsp\Sources\hylo-lsp-server\hylo-lsp-server-cli.swift:28:1: error: 'main' attribute cannot be used in a module that contains top-level code
D:\a\hylo-lsp\hylo-lsp\Sources\hylo-lsp-server\hylo-lsp-server-cli.swift:1:1: note: top-level code defined in this source file
D:\a\hylo-lsp\hylo-lsp\Sources\hylo-lsp-server\hylo-lsp-server-cli.swift:1:1: note: pass '-parse-as-library' to compiler invocation if this is intentional

https://forums.swift.org/t/the-windows-compiler-main/63122
https://forums.swift.org/t/main-in-a-single-swift-file/63079/13

Windows build unknown runtime crash

I can run the server without command line argument and do get usage report:

hylo-lsp-server.exe
Error: Exactly one transport method must be defined (stdio, pipe, socket)
Usage: hylo-lsp-server [--log <log>] [--log-file <log-file>] [--stdio] [--pipe <pipe>] [--socket <socket>]
  See 'hylo-lsp-server --help' for more information.

But when I launch the server with proper argument the execution just dies.

Mac ARM64 build

x64 build works, but native architecture would give better performance

Handle AST errors better

See makeModule

    try diagnostics.throwOnError()

Make sure to use partial results in the LSP, a failed compilation is a valid LSP result!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.