GithubHelp home page GithubHelp logo

dabble's People

Contributors

callumenator 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

Watchers

 avatar  avatar  avatar  avatar  avatar

dabble's Issues

Please make releases

Hello. Can you make downloadable released packages for known stable versions of dabble which work with known stable versions of dmd and other dependencies? As it is, I never know when to pull and when not, for fear of not having dabble work...

Thanks!

dub run fails

Here is the error msg:

dub run
Fetching pegged ~master (getting selected version)...
Placing pegged ~master to /Users/kaiyin/.dub/packages/...

## Warning for package dabble ##

The following compiler flags have been specified in the package description
file. They are handled by DUB and direct use in packages is discouraged.
Alternatively, you can set the DFLAGS environment variable to pass custom flags
to the compiler, or use one of the suggestions below:

-release: Call dub with --build=release

WARNING: A deprecated branch based version specification is used for the dependency pegged. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
Performing "debug" build using dmd for x86_64.
pegged ~master: building configuration "library"...
dabble ~master: building configuration "application"...
src/DCD/msgpack-d/src/msgpack.d(2904,5): Deprecation: constructor msgpack.Value.this all parameters have default arguments, but structs cannot have default constructors.
/Library/D/dmd/src/phobos/std/container/rbtree.d(831,25): Error: function modulecache.cacheComparitor (CacheEntry* a, CacheEntry* b) is not callable using argument types (inout(CacheEntry*), CacheEntry*)
/Library/D/dmd/src/phobos/std/container/rbtree.d(833,30): Error: function modulecache.cacheComparitor (CacheEntry* a, CacheEntry* b) is not callable using argument types (CacheEntry*, inout(CacheEntry*))
/Library/D/dmd/src/phobos/std/container/rbtree.d(1464,21): Error: function modulecache.cacheComparitor (CacheEntry* a, CacheEntry* b) is not callable using argument types (CacheEntry*, inout(CacheEntry*))
/Library/D/dmd/src/phobos/std/container/rbtree.d(1483,21): Error: function modulecache.cacheComparitor (CacheEntry* a, CacheEntry* b) is not callable using argument types (inout(CacheEntry*), CacheEntry*)
src/DCD/modulecache.d(230,9): Error: template instance std.container.rbtree.RedBlackTree!(CacheEntry*, cacheComparitor, false) error instantiating
src/DCD/modulecache.d(115,29): Error: forward reference to inferred return type of function call cache.equalRange(& e)
src/DCD/modulecache.d(220,28): Error: forward reference to inferred return type of function call cache.equalRange(& e)
src/dabble/defs.d(46,12): Error: no property 'clear' for type 'Type*[string]'
src/dabble/defs.d(47,13): Error: no property 'clear' for type 'Var[]'
src/dabble/defs.d(48,14): Error: no property 'clear' for type 'Decl[]'
src/dabble/defs.d(49,14): Error: no property 'clear' for type 'Vtbl[]'
src/dabble/meta.d(20,12): Deprecation: function std.process.system is deprecated - Please use wait(spawnShell(command)) or executeShell(command) instead
src/dabble/meta.d(20,12): Deprecation: function std.process.system is deprecated - Please use wait(spawnShell(command)) or executeShell(command) instead
src/dabble/meta.d(124,26): Error: no property 'clear' for type 'SharedLib[]'
src/dabble/meta.d(174,27): Error: no property 'clear' for type 'string'
src/dabble/meta.d(191,12): Error: no property 'clear' for type 'string'
src/dabble/parser.d(63,15): Error: no property 'clear' for type 'Tuple!(ulong, ulong, string)[]'
src/dabble/parser.d(64,16): Error: no property 'clear' for type 'Tuple!(ulong, ulong)[]'
src/dabble/parser.d(172,18): Error: no property 'clear' for type 'string[]'
src/dabble/parser.d(173,19): Error: no property 'clear' for type 'string[][]'
src/dabble/repl.d(205,12): Error: no property 'clear' for type 'Tuple!(string, "stage", long, "msecs")[]'
dmd failed with exit code 1.

Consider porting to Jupyter to leverage existing features there

Hello. You might have heard of IPython which provides terminal, Qt-based graphical and web-browser based REPL interfaces to Python as can be seen here. It is now separated out into the language-agnostic Jupyter which also provides the same terminal, Qt-based and web-based interfaces.

Being language-agnostic, it runs individual language kernels. There are already plugins for many languages, including C++.

I would like to suggest that you consider porting Dabble to the Jupyter protocol. It seems to me that instead of doing everything over from scratch (and be limited to features you are able to code yourself โ€“ like being terminal-only), it would be make it easy to leverage the multiple features that Jupyter provides.

Thanks!

Cannot compile with dmd 2.067.0

DUB version 0.9.23, built on Apr 6 2015
DMD32 D Compiler v2.067.0

src\dabble\defs.d(68): Error: template instance std.array.array!(FilterResult!(__lambda1, Var[])) error instantiating
src\dabble\defs.d(77): Error: template instance std.array.array!(FilterResult!(__lambda2, Var[])) error instantiating
src\dabble\repl.d(550): Error: no property 'name' for type 'string'
src\dabble\repl.d(750): Error: module std.datetime import 'getTimes' not found

Linux 64 bit: repl runs but fails to link with generated code

This is what I see in the repl when entering a simple expression:

DABBLE: (DMD 2.064)
>> 2 + 2;
/usr/bin/ld: extra.a(defs.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
extra.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
testCompile.d(25): Error: + has no effect in expression (2 + 2)

Repl was built with DMD in 64-bit mode using DUB (after cosmetic changes from pull req #3).

Ubuntu 12.04, amd64.

Cannot compile with dmd 2.068.0 in x86_64

This are the message when trying to build with the dmd 2.068.0:

dub run

Warning for package dabble

The following compiler flags have been specified in the package description
file. They are handled by DUB and direct use in packages is discouraged.
Alternatively, you can set the DFLAGS environment variable to pass custom flags
to the compiler, or use one of the suggestions below:

-release: Call dub with --build=release

WARNING: A deprecated branch based version specification is used for the dependency pegged. Please use numbered versions instead. Also note that you can still use the dub.selections.json file to override a certain dependency to use a branch instead.
Performing "debug" build using dmd for x86_64.
pegged ~master: target for configuration "library" is up to date.
dabble ~master: building configuration "application"...
/usr/include/dmd/phobos/std/container/rbtree.d(823,25): Error: function modulecache.cacheComparitor (CacheEntry* a, CacheEntry* b) is not callable using argument types (inout(CacheEntry_), CacheEntry_)
/usr/include/dmd/phobos/std/container/rbtree.d(825,30): Error: function modulecache.cacheComparitor (CacheEntry* a, CacheEntry* b) is not callable using argument types (CacheEntry_, inout(CacheEntry_))
src/DCD/modulecache.d(230,9): Error: template instance std.container.rbtree.RedBlackTree!(CacheEntry_, cacheComparitor, false) error instantiating
src/dabble/defs.d(46,12): Error: no property 'clear' for type 'Type_[string]'
src/dabble/defs.d(47,13): Error: no property 'clear' for type 'Var[]'
src/dabble/defs.d(48,14): Error: no property 'clear' for type 'Decl[]'
src/dabble/defs.d(49,14): Error: no property 'clear' for type 'Vtbl[]'
src/dabble/meta.d(20,12): Deprecation: function std.process.system is deprecated - Please use wait(spawnShell(command)) or executeShell(command) instead
src/dabble/meta.d(124,26): Error: no property 'clear' for type 'SharedLib[]'
src/dabble/meta.d(174,27): Error: no property 'clear' for type 'string'
src/dabble/meta.d(191,12): Error: no property 'clear' for type 'string'
src/dabble/parser.d(63,15): Error: no property 'clear' for type 'Tuple!(ulong, ulong, string)[]'
src/dabble/parser.d(64,16): Error: no property 'clear' for type 'Tuple!(ulong, ulong)[]'
src/dabble/parser.d(172,18): Error: no property 'clear' for type 'string[]'
src/dabble/parser.d(173,19): Error: no property 'clear' for type 'string[][]'
src/dabble/repl.d(205,12): Error: no property 'clear' for type 'Tuple!(string, "stage", long, "msecs")[]'
src/dabble/repl.d(222,14): Error: no property 'clear' for type 'string'
src/dabble/repl.d(231,14): Error: no property 'clear' for type 'string'
src/dabble/repl.d(277,16): Error: no property 'clear' for type 'Entry[]'
src/dabble/repl.d(278,14): Error: no property 'clear' for type 'Entry[]'
dmd failed with exit code 1.

Pegged

Hello.
Why it donot work ?

>dub build --config=console
Checking dependencies in '/home/s-y/dabble'
Error: Conflicting configurations for package pegged

no stdx.lexer

When I try to compile this project, I get:

dabble/parser.d(22): Error: module lexer is in file 'stdx/d/lexer.d' which cannot be read

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.