Code Monkey home page Code Monkey logo

dots's Introduction

dots

A turing-complete programming language with only one symbol: "."

Usage

python dots.py <source-file>

Advantages

  • Turing complete! Write any program you can think of!
  • Commenting your code is easy since all characters other than '.' are ignored!
  • Debugging is easy! There are only two possible causes of errors: too many or too few dots.
  • Only requires one working keyboard key to program with.

Examples

A sample cat program is provided that will copy stdin to stdout until it reads a 0 byte. This program is composed of precisely 43453 dots.

We would provide a "Hello World" program but unfortunately it's ~4.2x1055 yottabytes.

dots's People

Contributors

kylebshr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dots's Issues

Dots concept

Dots should not be discriminated against; I believe all dots should be allowed in this language, such as •,  ̇and ̣ among others. This would also make for a much more interesting language in my opinion.

This of course depends on the philosophy behind this language; if the goal is to create a language with one character, this clearly isn't a good idea. However, a single-character language doesn't seem too creative or unique, and the name "dots" doesn't make too much sense, as "." could just be replaced with any characters. "dots" is also plural, though I suppose that could refer to the fact that you need multiple dots to write a program.

I hope you'll consider this proposal, and let me know your thoughts on the matter.

"RIGHT" byte is not working.

1129749557781494627379878531505966426613484209395012547374631700716632035390745437596831817920210985878226506950964978169942026455068937274179474953918671824023 dots:
Traceback (most recent call last): File "Chess.py", line 127, in <module> main() File "Chess.py", line 123, in main run(program) File "Chess.py", line 83, in run mem.append(0) MemoryError
Can you fix this?

Hello, world...

If a massive storage device was created that could hold ~4.2x10^55 yottabytes, would the compiler be able to run the program, or would it take like 10 years to execute?

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.