Giter Club home page Giter Club logo

dealer's People

Contributors

df7cb avatar suokko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dealer's Issues

Make evaltree and action reentrant

Reentrant parser should support:

  • Calls from multiple threads for different hands.
  • An "exception" to pause the evaluation for DDS solving. Hand is stored to wait more hands to be searched simultaneously.

One way to archive this would be remove handstat caching which would be replaced with implicit variables for expensive calls like tricks().

entry.h is missing

when i try to run make dealer, many files uses include entry.h but entry.h file is missing

Investigate using llvm to compile the evaltree

Potential approached:

  • Keep current parser then attempt to compile the tree.
  • Keep current lexer but switch parser to hand written recursive descending parser. This would likely result to different looking parser syntax with redesign around identifiers instead of each function with own tree tag.
  • Use some other parser (e.g. boost::spirit) to write grammar in a compact format.

Code comment improvement

Planned work to go through all code adding missing comments. Target is to make code easier to read.

Conver genddslib to use internal threading

genddslib should be converted to use threads, shuffle and call directly to libdds. This would make it easier to build and use. It would also have potential to improve solution speed if generation can queue up large number of hand and then short them to have similar hands close to each other.

Static or dynamic library, libdds.a or libdds.so

I am casual user, and following may not have sense, but I would like to get dealer to use dds:
Compiling dds produces static library libdds.a. However, compiler in dealer folder expects a dynamic library libdds.so. Since there is no dynamic library, "dealer" cannot use dds. Any help to resolve this?

Add a compile step to resolve types

A compile step resolving types would allow error checking for incompatible types.

A potential side benefit would be simpler runtime code with statistically typed execution. Optimization step likely needs much bigger changes and might not be worth it.

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.