mebobby2 / haskell-chat Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dmansen/haskell-chat
A minimal, high-performance, IRC-like TCP chat server written in Haskell.
Home Page: https://github.com/dmansen/haskell-chat
This project forked from dmansen/haskell-chat
A minimal, high-performance, IRC-like TCP chat server written in Haskell.
Home Page: https://github.com/dmansen/haskell-chat
hachat (haskell chat server) ============================ hachat is a robust, highly concurrent implementation of a chat server with a simple protocol (see http://www.itasoftware.com/careers/work-at-ita/hiring-puzzles.html or below for details), implemented in Haskell. it uses a combination of software transactional memory and lightweight threads to achieve high performance. the easiest way to run it is to compile Main.hs (ghc Main.hs), run the binary, and pass in an optional port. ./Main -p 9000 protocol description ==================== all messages should be terminated by <CR><LF> (carriage return + line feed). client messages =============== LOGIN <name> logs you in with the specified name JOIN #<room name> joins the room specified MSG #<room name> <msg> sends a room message to the room specified MSG <user name> <msg> sends a private message to the user specified PART #<room name> leaves the room specified LOGOUT terminates your session server responses ================ OK indicates that what you wanted, happened. GOTROOMMSG <from user> #<room name> <msg> got a message from user to the room GOTUSERMSG <from user> <msg> got a private message ERROR <reason> there was an error disclaimer ========== the software is prone to constant change, as it's only been in development for 3 days at this point, and i really like refactoring. version ======= i declare this version 0.5. this means it should be relatively stable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.