2 comments

  • gus_massa 2 hours ago ago

    Clicky:

    https://lax-lang.space It has a link to SourceForge instead of GitHub

    https://github.com/lax-inc/Lax

    > Please create your own project forks or empty repositories with .lx files

    Do you mean "new" instead of "empty"? My recomendation is to try to get real users instead of asking minimal repos.

    Remember to use two spaces to activate the magic "code" mode in HN

      [start
        [spot op_raw [input "Select operation (+, -, , /, sqrt, expt): "]]
        [spot op [string->sign op_raw]]
        [spot is_unary [eq? op [string->sign "sqrt"]]]
        ...
      ]
    
    Some functions like "eq?" use a question mark and other like "is_unary" use an underscore. It's strange.

    From github

    > License and Restrictions

    > No License.

    > All rights are reserved by Lax Inc.

    > Copying is strictly prohibited.

    > The redistribution of source code, binaries, or the Lax compiler logic is not permitted.

    > Unauthorized use of the Lax trademark or the Lax REPL CLI interface design is forbidden.

    Are you selling the compiler? IIUC I can only stare at the compiler code but not download or run it. Seling compilers is very hard now. People expect an open source license, but it's hard to monetize. Some people tried with "semi-free"[1] licenses. Who can use your compiler for free? Who must pay to use it?

    [1] or "semi-close", depending who is complaining. The only truly free part is to get voluntaries for complaining.

    • Mavox-ID an hour ago ago

      Lax is completely open source and uses the MIT license. You can download the release from Github: https://github.com/lax-Inc/Lax/releases/tag/6.0.6 . However, I warn you that Lax is currently only for Linux, and you can build it with Conda Make or, for more details, use Make Help. I asked you to create an empty Github repository where you will create a project with a file with the .lx extension and a detailed README.md about the project (not what you used in the code, but what it does and why. We recommend checking the code using the Lax argument: -o and uploading it to Github). The most important thing is that the project is empty and uses a minimum of an .lx file with code written in Lax and a README.md explaining the program at a minimum. The rest is up to you. (Just don't mention that this is help for Lax; the project should be about interest in using the Lax programming language, not about help.)

      Any questions regarding eq? In code, eq? checks whether two values point to the same object in memory (referential identity). In other functions, it's the check code itself, created earlier, not the function itself. (It's like a variable that participates as a command but is itself executed via spor. If used, it executes another command, such as eq? , but with the value entered by the user.)

      For example:

      [spot [is_true [x] [x]] eq? [x] [x]]

      And more.

      The fact that you found Sourceforge is one of the ways to download Lax, which is currently temporarily non-existent. You can download it using the button right at the beginning of the site 'Download Lax 6.0.6'. What you saw in README.md was a test version of Lax and did not apply to the current version at all. Lax currently uses MIT and you can download and edit Lax as you like and even suggest your changes through forks of the official repository. Lax is compiled very quickly using make and is not sold. Lax is simply provided in the form of only .c code, where you compile it yourself and is not immediately submitted only as a binary file, where you cannot open it like the same .c code and edit it.