Code Monkey home page Code Monkey logo

schemy's People

Contributors

kflu avatar microsoftopensource avatar msftgits avatar vuchl 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  avatar  avatar  avatar  avatar  avatar

schemy's Issues

Little Tweaks for Unity :)

Since scripting is always a nice thing in Videogaming, I chose your library for my Unity Project AsciiQuest (WIP).

The only thing needed to make the Unity version I have happy is to reimplement Enumerable Zip and Tuple Create
(or change public static bool EqualImpl(object x, object y) {...} to not use tuples) as well as making InitializeFiles protected virtual to override it (assembly loading is not the way to go using unity).

// requires protected virtual IEnumerable<TextReader> GetInitializeFiles() in Interpreter.cs
class Interpreter2 : Interpreter
{
	public Interpreter2 () : base (null, null)
	{
	}

	protected override IEnumerable<TextReader> GetInitializeFiles ()
	{
		yield break;
	}
}

Interesting that #7 also mentions Scheme for Unity :D

Thanks a lot for this nice interpreter :)

Can NativeProcedure.Create also process Action<>?

Currently doing

            Interpreter.CreateSymbolTableDelegate extension = itpr =>
            {
                return new Dictionary<Symbol, object>
                {
                    [Symbol.FromString("exit")] = NativeProcedure.Create<int>(Exit,"exit"),
                };
            };

where Exit is defined as

        private static int Exit()
        {
            System.Environment.Exit(1);
            return 1;
        }

Would be nicer to be able to specify System.Environment.Exit in the .Create

Publish schemy.repl.exe as dotnet global tool

Currently, the repl is just under examples.

It would be useful to expose it as dotnet global tool, so it would be easy to "play with" the scripts while learning and testing stuff.

If this does not seem to be in scope, I can publish a global tool myself but I'm not sure how to make it obvious from the name that it's not "official" repl in any way.

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.