百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

slash

> 编程语言
开源

Web 的新语言

379 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Web 的新语言

Slash

Slash is a new language for the web. It's designed for the cases when you just want to throw up a simple dynamic page and don't want to have to bother setting up and maintaining application servers.

It's inspired by Ruby, Perl and good old PHP.

Supported Platforms

  • Linux - x86, x86_64, ARMv6
  • Mac OS X - x86_64
  • Windows - x86

Installing

Sane systems

$ ./configure
$ make
# make install

By default, ./configure will enable all extensions (mysql, json, base64, gcrypt and inflect at time of writing). To disable an extension, use the --no-ext= option. To enable a disabled extension, use --ext=.

Slash by itself is compiled as a static library (libslash.a on *nix systems). To actually do anything useful with Slash, you must compile a SAPI (Server API). The SAPI is the piece of software that glues libslash to your web server. For example, if you wish to run Slash on the Apache Web Server, you must enable the apache2 SAPI by passing --sapi=apache2 to ./configure. By default, the cli SAPI is automatically enabled. The cli SAPI allows you to run Slash scripts from the command line.

If you have libraries installed in non standard locations and the configure script fails to find them, you may specify the location manually with the --with-lib-dir= option.

If Slash still fails to configure, you may use the --verbose switch to log additional information to the terminal. This information will be required if you need to report an issue.

make install will install Slash under /usr/local by default. This install prefix can be changed with the --prefix= option.

OS X

If you have Homebrew installed you can install the dependencies by running:

brew install gmp pcre libgcrypt yajl discount

Windows

A vanilla Slash can be built on Windows using mingw-gcc. In the future, binaries for slash-cli and common SAPIs will be distributed.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言