把 Gisp 转换成 Go AST Gimpy

码农软件 · 软件分类 · 编译器 · 2019-12-08 09:29:41

软件介绍

Gisp 是一个编译器,把 Gisp 转换成 Go AST。Gimpy 是简单的叠加,能更容易从 Gisp 中访问 Go stdlib。主要的,是为了执行类型断言,因为所有 Gisp 的值都是 core.Any (or interface{})。

安装

go get github.com/eatonphil/gimpy
cd <go-path>/github.com/jcla1/gisp
go buildecho $(pwd) >> ~/.bashrc
. ~/.bashrc

示例

(ns main    "github.com/jcla1/gisp/core"
    "github.com/eatonphil/gimpy/fmt"
    "github.com/eatonphil/gimpy/net/http")

(def hello (fn [w r]
    (fmt/Fprintf w "Hello World")
    ()))

(def main (fn []
    (http/HandleFunc "/" hello)
    (http/ListenAndServe ":9090" nil)))

本文地址:https://codercto.com/soft/d/20682.html

TensorFlow:实战Google深度学习框架(第2版)

TensorFlow:实战Google深度学习框架(第2版)

顾思宇、梁博文、郑泽宇 / 电子工业出版社 / 2018-2-1 / 89

TensorFlow是谷歌2015年开源的主流深度学习框架,目前已得到广泛应用。《TensorFlow:实战Google深度学习框架(第2版)》为TensorFlow入门参考书,旨在帮助读者以快速、有效的方式上手TensorFlow和深度学习。书中省略了烦琐的数学模型推导,从实际应用问题出发,通过具体的TensorFlow示例介绍如何使用深度学习解决实际问题。书中包含深度学习的入门知识和大量实践经......一起来看看 《TensorFlow:实战Google深度学习框架(第2版)》 这本书的介绍吧!

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具