Git Product home page Git Product logo

brickbot / nqc Goto Github PK

View Code? Open in Web Editor NEW
15.0 6.0 5.0 1.88 MB

NQC (Not Quite C) is a programming language for several Lego MindStorms products, including the RCX, CyberMaster, and Scout. This BrickBot/nqc repo captures updates to the code since NQC 3.1 r6 and is believed to be the most progressed nqc repo. This version includes patches posted to https://sourceforge.net/p/bricxcc/patches/.

Home Page: http://bricxcc.sourceforge.net/nqc/

License: Other

Makefile 0.67% C++ 66.92% Batchfile 0.01% Lex 0.81% Yacc 1.16% C 22.68% TeX 6.09% Roff 0.81% Rich Text Format 0.82% Rez 0.03%
rcx lego-mindstorms nqc

nqc's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nqc's Issues

TCP Support for Non-Linux Platforms

TCP support was added for the Linux build (e.g. rcxlib/RCX_TcpPipe_linux.cpp); extend this capability to other platforms, including Windows and Mac OS.

Provide a Homebrew tap for macOS and Linux

I made my own Homebrew tap using jverne/nqc so that you can install nqc on macOS by typing:

brew install davidperrenoud/nqc/nqc

This will download the compiled version (bottle) on macOS 12 Intel and compile it from source on other architecture such as ARM or macOS versions.

You could provide the same functionality with the following formula:

class Nqc < Formula
  desc "Programming language for LEGO MINDSTORMS RCX, CyberMaster and Scout"
  homepage "https://bricxcc.sourceforge.net/nqc/"
  url "https://github.com/BrickBot/nqc/archive/refs/tags/v3.1-r6.tar.gz"
  version "3.1r6"
  sha256 "24aaa060f438606965ce17986af2e3e91ea9ccba7ffb4687ee6f89f3cd4ee585"
  license "MPL-2.0"

  def install
    ENV.deparallelize
    system "make", "install", "PREFIX=#{prefix}", "MANDIR=#{man}/man1"
  end

  test do
    system "#{bin}/nqc", "-help"
  end
end

As your repository is compatible with Linux, you do not need to add depends_on :macos.

You can configure your repository to automatically upload macOS 12 Intel and Ubuntu 22.04 bottles with the following guide:
https://brew.sh/2020/11/18/homebrew-tap-with-bottles-uploaded-to-github-releases/

Other architectures are only available in homebrew-core but they do not allow repositories with less than 75 stars.

Windows Builds

The Makefile does not appear to reference a Windows build, and platform-specific files such as rcxlib/RCX_USBTowerPipe_win.cpp do not appear to be included in the build.

Also see the file "PORTING" for additional details.

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.