GithubHelp home page GithubHelp logo

visi-lang / visi Goto Github PK

View Code? Open in Web Editor NEW
140.0 140.0 4.0 8.66 MB

The Visi Language and iPad IDE

Home Page: http://visi.io

Objective-C 18.72% Haskell 44.75% C 0.62% Shell 1.11% Clojure 5.80% Java 0.08% Scala 28.67% Perl 0.24%

visi's People

Contributors

dpp avatar jonsterling avatar nathanhowell avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

visi's Issues

Document the current code

The existing code, especially the Haskell code, needs documentation. Should we use Literate Haskell or just add Haddock style documentation?

Docs syntax & Docs parser

Add syntax to Visi to support built-in documentation a la JavaDocs. Basically, a nice place for docs to sit

Include build and set up instructions

Hi,

I couldn't find any build instructions in the README. Are there any docs for building that I've missed?

I'm using cabal version 0.10.2 and ghc 7.0.4 and I got

Linking dist/build/visi/visi ...
ld: warning: could not create compact unwind for .LFB3: non-standard register 5 being saved in prolog
Undefined symbols for architecture i386:
  "_main", referenced from:
      start in crt1.10.6.o
     (maybe you meant: _Main_main2_closure, _Main_main7_info , _Main_main10_info , _Main_main11_srt , _ZCMain_main_info , _Main_main11_closure , _Main_main1_closure , _Main_main8_info , _Main_main11_info , _Main_main_srt , _Main_main9_closure , _Main_main10_closure , _ZCMain_main_srt , _Main_main1_info , _Main_main9_info , _Main_main8_closure , _Main_main7_closure , _Main_main_closure , _Main_main6_closure , _Main_main4_info , _Main_main1_srt , _Main_main5_closure , _Main_main4_srt , _ZCMain_main_closure , _Main_main4_closure , _Main_main7_srt , _Main_main9_srt , _Main_main_info , _Main_main6_info , _Main_main3_closure )
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
cabal: Error: some packages failed to install:
Visi-0.1 failed during the building phase. The exception was:
ExitFailure 1

I understand from the dependency on ghc-iphone that my version of ghc might be too new, but it would be good to have a comprehensive "This is how you get set up" document.

Cheers - looks like a very interesting project!
Ben

Poor IDE choice

I was excited to learn more about Visi until I read

Visi will be self-hosted with a built-in IDE like Smalltalk.

This is exactly why I don't use Squeak or Pharo. I don't want to use your editor, I want to be able to use any editor. And I want to ./hello.visi | anotherprogram, something you can't do when a language is bundled in a horrible non-POSIX, non-CLI VM environment. The few benefits of a Squeak style VM pale in comparison to the loss in flexibility: What if I want to interface Visi with a Perl script? What if I want to run a Visi daemon on bootup?

Please consider using a normal command line environment, providing the IDE as an optional feature.

Fix order of operations

While I was using visi, I noticed that there was an issue with order operations
in visi

(0.3+0.3+0.3)/3*0.08=3.75

Because of order of operations, the correct answer should be 0.024.
Really the only way 3.75 should show up is

(0.3+0.3+0.3)/(3*0.08)= 3.75

Built in tests

Visi should allow built-in tests for each function and each struct. There needs to be convenient syntax for describing tests. The syntax should dove-tail with the docs syntax. The testing should be as declarative as possible (like Haskell Check).

Over the longer term, there should be reporting and regression analysis tools, but on day 1, we need to have a syntax so that developers write tests by default.

Add tests

There are no tests in the system. Each module should have unit tests and "check" style tests.

Fix the type inferencer/checker

Currently, the type infererencer will not infer type parameters (if/then/else uses type parameters)

The type checker will not fail if the same "source" is used in a String and a Number operation

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.