Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

tpzker

Members
  • Content Count

    14
  • Joined

  • Last visited

  • Days Won

    1

Reputation Activity

  1. Like
    tpzker got a reaction from Totoro in [WIP] TritonLang - A C++-styled language that compiles to Lua [Continuation of KLang]   
    Overview
    Hello there. Some of you may remember KLang. I decided that I should you know, actually work on it. Therefore, I present Triton/TritonLang. Triton is the continuation of KLang, a C++-styled programming language that compiles to Lua. I have no ETA on when it will be done as of the moment, but it is work in progress and I would possibly like to get feedback on my current project status.
    Hello, world! [Pseudocode]
    #include <io> int main() { io::info("Hello, world!"); return 0; } Advantages to Lua
    Headers/easily include libraries Statically and dynamically compiled libraries for programs C++-style syntax and easier OOP Helpful Links
    WIP Documentation
    GitHub Repository
     
     
  2. Like
    tpzker reacted to Nexarius in [WIP] TritonLang - A C++-styled language that compiles to Lua [Continuation of KLang]   
    Can this run a lua interpreter?
  3. Upvote
    tpzker got a reaction from Log in [WIP] TritonLang - A C++-styled language that compiles to Lua [Continuation of KLang]   
    Overview
    Hello there. Some of you may remember KLang. I decided that I should you know, actually work on it. Therefore, I present Triton/TritonLang. Triton is the continuation of KLang, a C++-styled programming language that compiles to Lua. I have no ETA on when it will be done as of the moment, but it is work in progress and I would possibly like to get feedback on my current project status.
    Hello, world! [Pseudocode]
    #include <io> int main() { io::info("Hello, world!"); return 0; } Advantages to Lua
    Headers/easily include libraries Statically and dynamically compiled libraries for programs C++-style syntax and easier OOP Helpful Links
    WIP Documentation
    GitHub Repository
     
     
  4. Like
    tpzker got a reaction from Molinko in OETF #18 Open Inter-Process Communication   
    This is a draft. Examples of software will be coded later.
    Concepts
    Socket: A file on the system which links two programs' communications. OC: Abbreviation for "OpenComputers" OS: Abbreviation for "Operating System" OpenOS: The stock OS for OC computers. Socket: a medium for communication between two or more programs Rationale
    To standardize any possible IPC implementations
    Basic Concepts
    Background programs (or daemons) can be started with a simple wrapper, such as this example code: thread.create(function() shell.execute(ENV, "/bin/daemon.lua") end) Programs can communicate with sockets through the signals defined in this document These signals can be created with "computer.pushSignal(name: string, [...])" They can be received with "event.pull([timeout: number], [name:string], ...)" or "event.listen(event: string, callback: function)", or on a low-level basis with "computer.pullSignal([timeout: number])" Signals
    oipc_sock_comms(socketID: string, <... (message)>) -- OIPC Socket Communications -- message must be of type nil, boolean, number, string, table (tables and other messages MUST NOT contain threads and functions due to the limitations of computer.pushSignal()) Notes
    Please note that OIPC will only work with OSes which pass signals to all subprocesses instead of simply consuming the signal on "computer.pullSignal", "event.pull", or similar functions to wait for/listen for signals.
  5. Upvote
    tpzker got a reaction from SkayoDev in [DEAD] OpenNet - Webpages inside Minecraft   
    This project is no longer being maintained, and has not been for a while. I may eventually make a new version, but I would first like to make an addon for OpenComputers to allow long-range wireless signals so that you can connect globally to a server.
    The OpenNet: Internet like simulation in Minecraft 
    REQUIRES WIRELESS NETWORK CARD
    Not tested with wired network card
    This is very WIP, but it still works well for what it does.
    The OpenNet requires one computer to be running at all times as DNS. This allows for DNS lookup and not having to type things like "af4c71b5-c3be-4da1-b595-4d0afd40359d" to go to a page. It also requires a computer to be running all the time for each web server.
    The client and web server need to know the DNS server's address, so if this is implemented on a server, it is best to have one central DNS server.
    Downloads:
    DNS Server pastebin get 1pp05ryR opennet-dns.lua OpenNet Web Server (configure dns network card address inside file) pastebin get PRTmhN1a opennet-server.lua OpenNet Web Browser (configure dns network card address inside file) pastebin get jMNz5Bej OpenNet.lua Screenshots:
    OpenNet DNS

    OpenNet Server:

    OpenNet Client:

    ONML:
    ONML (OpenNet Markup Language) is a simple web page language (not many features yet) that allows you to change the background and foreground color of the site. The colors are cleared after displaying them.
    To change the color of text, prefix the color with one of these colors (use three letter name): "RED", "ORA"(orange), "YEL"(yellow),"GRE"(green),"BLU"(blue),"PUR"(purple),"WHI"(white),"BLA"(black)
    To change the color of the background, type "BACK <COLOR NAME>". <COLOR NAME> is one of the colors shown above (use three letter name)
     
    Example ONML file:
    BACK RED WHI The OpenNet: Internet for OpenComputers YEL The OpenNet is an open source wireless communication system made with Lua for OpenComputers. WHI It includes a 8 color (red "RED", orange "ORA", yellow "YEL", green "GRE", blue "BLU", purple "PUR", white "WHI". black "BLA") foreground and background system, along with things similar to DNS Demonstration of the shown ONML file:
     
    Roadmap (in no order):
    Real Internet ONML
    ONML links/interaction
    More pages than just the main page
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.