PageRenderTime 563ms queryFilters 0ms Sphinxql 39ms app.CodeModel.GetByIds 410ms findMatchingLines 93ms GetByIds 503ms meta 0ms repositoryFilters 18ms languageFilters 3ms sourceFilters 4ms

4,982 results for 'hello world lisp' (563 ms)

Source

Language

Repository

README.md https://github.com/edvaladar/GAHelloWorld.git | Markdown | 67 lines
1# Genetic Algorithm Hello World! (Common Lisp Edition)
2
29- CCL: my old 1.4 version fails, don't know why
30- CLISP: `clisp -i ga-hello-world.lisp -x "(progn (main) (quit))"`
31- ECL: `ecl -l ga-hello-world.lisp -eval "(progn (main) (quit))"`
31- ECL: `ecl -l ga-hello-world.lisp -eval "(progn (main) (quit))"`
32- SBCL: `sbcl --load ga-hello-world.lisp --eval "(progn (main) (quit))"`
33
34The more 'Lispy' way would be just starting you CL implementation and
35issuing `(load "ga-hello-world.lisp")` and then calling the MAIN
36function.
40
41- CLISP: `clisp -i ga-hello-world-tests.lisp`
42- ECL: `ecl -l ga-hello-world-tests.lisp`
42- ECL: `ecl -l ga-hello-world-tests.lisp`
43- SBCL: `sbcl --load ga-hello-world-tests.lisp`
44
output.txt git://github.com/duckduckgo/zeroclickinfo-fathead.git | Unknown | 174 lines
4hello world (Haxe)		https://github.com/leachim6/hello-world	Hello World in Haxe (Haxe.hx)	class Haxe {\n\tstatic function main() {\n\t\ttrace("Hello, World!");\n\t}\n}\n			
5hello world (Eiffel)		https://github.com/leachim6/hello-world	Hello World in Eiffel (Eiffel.eiff)	indexing "Hello World in Eiffel , from http://roesler-ac.de/wolfram/hello.htm#Eiffel"\n\nclass HELLO\n\ncreation\n\trun\n\nfeature\n\n\trun is\n\t\tlocal\n\t\t\tio : BASIC_IO;\n\t\tdo\n\t\t\t!!io;\n\t\t\tio.put_string("Hello World!");\n\t\t\tio.put_newline\n\t\tend; -- run\nend; -- class HELLO\n			
6hello world (erlang_hw)		https://github.com/leachim6/hello-world	Hello World in erlang_hw (erlang_hw.erl)	-module(erlang_hw).\n-export([start/0]).\n\nstart() ->\n  io:format("Hello World~n").			
6hello world (erlang_hw)		https://github.com/leachim6/hello-world	Hello World in erlang_hw (erlang_hw.erl)	-module(erlang_hw).\n-export([start/0]).\n\nstart() ->\n  io:format("Hello World~n").			
7hello world (ebuild)		https://github.com/leachim6/hello-world	Hello World in ebuild (ebuild.ebuild)	# Copyright 1999-2008 Gentoo Foundation\n# Distributed under the terms of the GNU General Public License v2\n# $Header: $\n\nDESCRIPTION="Hello World"\nHOMEPAGE="http://hello-world.org/"\nSRC_URI="http://hello-world.org/"\n\nLICENSE="GPL"\nSLOT="0"\nKEYWORDS="~x86"\nIUSE=""\n\nDEPEND=""\nRDEPEND=""\n\nsrc_compile() {\n\teinfo "Hello World"\n}\n			
8hello world (whenever)		https://github.com/leachim6/hello-world	Hello World in whenever (whenever.whenever)	1 print("Hello world!"); \n			
42hello world (nu)		https://github.com/leachim6/hello-world	Hello World in nu (nu.nu)	(puts "Hello World")\n			
43hello world (vhdl)		https://github.com/leachim6/hello-world	Hello World in vhdl (vhdl.vhdl)	use std.textio.all;\n\nentity hello_world is\nend hello_world;\n\narchitecture behaviour of hello_world is\nbegin\n\tprocess\n    begin\n       write (output, String'("Hello world!"));\n       wait;\n    end process;\nend behaviour;			
44hello world (vbnet)		https://github.com/leachim6/hello-world	Hello World in vbnet (vbnet.vb)	Module HelloWorld\n    Sub Main()\n        System.Console.WriteLine("Hello World")\n    End Sub\nEnd Module			
112hello world (llvm)		https://github.com/leachim6/hello-world	Hello World in llvm (llvm.ll)	; llvm-as llvm.ll\n; x86 assembly: llc llvm.bc -o llvm.s -march x86\n; interpreter: lli llvm.bc\n\ntarget datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"\n@.str = internal constant [12 x i8] c"Hello World\00"\n\n; puts from libc\ndeclare i32 @puts(i8*)\n\ndefine i32 @main(...) {\n\tcall i32 @puts(i8* getelementptr([12 x i8]* @.str, i32 0, i32 0))\n\tret i32 0\n}\n			
113hello world (lisp)		https://github.com/leachim6/hello-world	Hello World in lisp (lisp.lsp)	; LISP\n(DEFUN HELLO-WORLD ()\n  (PRINT (LIST 'HELLO 'WORLD))\n)\n			
114hello world (focal)		https://github.com/leachim6/hello-world	Hello World in focal (focal.fc)	0.1.0.1 TYPE "HELLO WORLD" , !\n			
114hello world (focal)		https://github.com/leachim6/hello-world	Hello World in focal (focal.fc)	0.1.0.1 TYPE "HELLO WORLD" , !\n			
115hello world (fortran)		https://github.com/leachim6/hello-world	Hello World in fortran (fortran.f90)	program helloworld\nprint *,'Hello World'\nend program helloworld			
116hello world (forth)		https://github.com/leachim6/hello-world	Hello World in forth (forth.f)	: HELLO S" Hello, world!" TELL CR ;			
ucw-intro.html https://github.com/vikram/lisplibraries.git | HTML | 1,448 lines
677    </pre>
678    <p>Load the files into your image and surf to http://127.0.0.1(:8080)/ucw-intro/hello-world.ucw, cross your fingers... and... now you've printed "hello world"! (If the heavens are willing).</p>
679    <p>In the next chapter we will see what applications actually are, and  we will examine the contents of ucw-intro.lisp. Also we will discuss
702    canvas. You can nest render methods of other components, in which case you piece the data together to form a complete page. With this
703    information we can step through conf.lisp and hello-world.lisp from the last chapter:</p>
704    <p>config.lisp:</p>
778    <pre>
779(defmethod render ((hello-world hello-world))
780  (&lt;:as-is "&lt;!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/transitional.dtd\"&gt;"
810    another ucw page and without information by some ucw cookie that hasn't timed out yet, the machinery checks the last
811    form you just typed at the :dispathers part of your application constructor, in this case (call 'hello-world). It calls the component hello-world, which means it locks that component as being the main component to be rendered to the
812    user. Whenever ucw gets user input it makes a new frame and after the preliminaries are over, it calls the render method on the component
1105                :stylesheet "sheet.css"
1106                :contents `(("hello world" . ,(make-instance 'hello-world))
1107                            ("basics" . ,(make-instance 'basics))
ucw-intro.html https://github.com/vikram/lisplibraries.git | HTML | 1,448 lines
677    </pre>
678    <p>Load the files into your image and surf to http://127.0.0.1(:8080)/ucw-intro/hello-world.ucw, cross your fingers... and... now you've printed "hello world"! (If the heavens are willing).</p>
679    <p>In the next chapter we will see what applications actually are, and  we will examine the contents of ucw-intro.lisp. Also we will discuss
702    canvas. You can nest render methods of other components, in which case you piece the data together to form a complete page. With this
703    information we can step through conf.lisp and hello-world.lisp from the last chapter:</p>
704    <p>config.lisp:</p>
778    <pre>
779(defmethod render ((hello-world hello-world))
780  (&lt;:as-is "&lt;!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/transitional.dtd\"&gt;"
810    another ucw page and without information by some ucw cookie that hasn't timed out yet, the machinery checks the last
811    form you just typed at the :dispathers part of your application constructor, in this case (call 'hello-world). It calls the component hello-world, which means it locks that component as being the main component to be rendered to the
812    user. Whenever ucw gets user input it makes a new frame and after the preliminaries are over, it calls the render method on the component
1105                :stylesheet "sheet.css"
1106                :contents `(("hello world" . ,(make-instance 'hello-world))
1107                            ("basics" . ,(make-instance 'basics))
Makefile https://github.com/guicho271828/cl-mpi.git | Makefile | 61 lines
6SBCL = /usr/local/bin/sbcl
7CMUCL = /usr/local/bin/lisp
8
12
13sbcl-hello-world:
14	$(SBCL) --eval "(progn (compile-file \"mpi-hello-world.lisp\")(sb-ext:quit))"
14	$(SBCL) --eval "(progn (compile-file \"mpi-hello-world.lisp\")(sb-ext:quit))"
15	mpirun -np $(NUM_PROCS) $(SBCL) --load "mpi-hello-world" --eval "(progn (mpi-hello-world)(sb-ext:quit))"
16
16
17cmucl-hello-world:
18	$(CMUCL) -eval "(progn (compile-file \"mpi-hello-world.lisp\")(ext:quit))"
18	$(CMUCL) -eval "(progn (compile-file \"mpi-hello-world.lisp\")(ext:quit))"
19	mpirun -np $(NUM_PROCS) $(CMUCL) -load "mpi-hello-world" -eval "(progn (mpi-hello-world)(ext:quit))"
20
hello-world.lisp https://github.com/Ralith/buclet.git | Lisp | 66 lines
1;;;; -*- Mode: LISP; Syntax: COMMON-LISP -*-
2;;;;
2;;;;
3;;;; hello-world.lisp
4;;;;
8;;;;
9;;;; See: http://www.continuousphysics.com/mediawiki-1.5.8/index.php?title=Hello_World
10
13;(asdf :buclet)
14(defpackage :pl-hello-world
15  (:use :cl :pl :sb-cga))
15  (:use :cl :pl :sb-cga))
16(in-package :pl-hello-world)
17
47(setf *physics-sdk* (new-bullet-sdk))
48(setf *dynamics-world* (create-dynamics-world *physics-sdk* :dbvt))
49
cl-terrace-init.lisp https://github.com/nallen05/old-cl-terrace.git | Lisp | 80 lines
57
58      ;; "site/" folder and hello world
59      (create-directory "~A/site/" name)
60      (create-directory "~A/site/terrace/" name)
61      (create-file (render-template "hello-world.lisp" :name name)
62		   "~A/site/terrace/i.hello-world.lisp" name)
63      (create-directory "~A/site/template/" name)
64      (create-file (render-template "hello-world.html" :name name)
65		   "~A/site/template/hello-world.html" name)
69      (create-directory "~A/src/" name)
70      (create-file (render-template "defpackage.lisp" :name name)
71		   "~A/src/package.lisp" name)
71		   "~A/src/package.lisp" name)
72      (create-file (render-template "core.lisp" :name name)
73		   "~A/src/core.lisp" name)
TUTORIAL-ROADMAP git://github.com/fare/xcvb.git | Unknown | 81 lines
8And binary distributions for MacOSX, Windows.
9Make sure it is buildable from source with one of 4 lisp environments: SBCL, CLOZURE, CLISP, ECL.]
10
10
111. The first thing I'll do is write a hello world project. I expect a binary as an output.
12[XCVB should support two styles of authoring: the REPL, and at the shell command line.]
15I expect to write these files:
16hello-world.lisp
17package.lisp
26
272. I want to expand my hello-world example by including some other libraries in common lisp.
28I add the "Alexandria" library as a dependency.
33  How does this dependency get built? [It is an asdf project, xcvb builds it for me or quicklisp?]
34  I'll likely use Quicklisp to get it, should xcvb understand Quicklisp somehow?
35
core.lisp https://github.com/nallen05/old-cl-terrace.git | Lisp | 419 lines
81;
82;    /hello-world.lisp
83;
233;
234; -> serves result of executing the lisp code in "/foo/bar/baz.lisp"
235; [note .cl files work just the same as .lisp]
248;
249; -> serves result of running the lisp code in "/foo/bar/v.baz.lisp"
250;
257;
258; -> serves result of running the lisp code in "/v.foo/v.bar/v.vaz.lisp"
259;
270;
271; -> serves result of running the lisp code in "/foo/bar.lisp".
272;
Pymacs.py.in https://github.com/Artoria-0x04/.emacs.d.git | Autoconf | 969 lines
172    # But in the usual case, there is only one such instance kept within a
173    # Lisp_Interface instance, and the "lisp" global variable within this
174    # module holds such a Lisp_Interface instance.
462        return [lisp.progn,
463                [lisp.pymacs_defuns, [lisp.quote, arguments]],
464                module]
677    def __repr__(self):
678        return ('lisp(%s)' % repr(lisp('(prin1-to-string %s)' % self)))
679
694    #    # So you could do things like
695    #    # print >>lisp.current_buffer(), "Hello World"
696    #    lisp.insert(text, self)
819
820lisp = Lisp_Interface()
821
Pymacs.py https://bitbucket.org/mrklein/dotfiles.git | Python | 970 lines
172    # But in the usual case, there is only one such instance kept within a
173    # Lisp_Interface instance, and the "lisp" global variable within this
174    # module holds such a Lisp_Interface instance.
462        return [lisp.progn,
463                [lisp.pymacs_defuns, [lisp.quote, arguments]],
464                module]
677    def __repr__(self):
678        return ('lisp(%s)' % repr(lisp('(prin1-to-string %s)' % self)))
679
694    #    # So you could do things like
695    #    # print >>lisp.current_buffer(), "Hello World"
696    #    lisp.insert(text, self)
819
820lisp = Lisp_Interface()
821
pymacs.py https://bitbucket.org/vvangelovski/vasil-emacs | Python | 716 lines
145    # But in the usual case, there is only one such instance kept within a
146    # Lisp_Interface instance, and the "lisp" global variable within this
147    # module holds such a Lisp_Interface instance.
307        return [lisp.progn,
308                [lisp.pymacs_defuns, [lisp.quote, arguments]],
309                object]
508    def __repr__(self):
509        return ('lisp(%s)' % repr(lisp('(prin1-to-string %s)' % self)))
510
524    #    # So you could do things like
525    #    # print >>lisp.current_buffer(), "Hello World"
526    #    lisp.insert(text, self)
642
643lisp = Lisp_Interface()
644
Pymacs.py git://github.com/gabrielelanaro/emacs-for-python.git | Python | 969 lines
172    # But in the usual case, there is only one such instance kept within a
173    # Lisp_Interface instance, and the "lisp" global variable within this
174    # module holds such a Lisp_Interface instance.
462        return [lisp.progn,
463                [lisp.pymacs_defuns, [lisp.quote, arguments]],
464                module]
677    def __repr__(self):
678        return ('lisp(%s)' % repr(lisp('(prin1-to-string %s)' % self)))
679
694    #    # So you could do things like
695    #    # print >>lisp.current_buffer(), "Hello World"
696    #    lisp.insert(text, self)
819
820lisp = Lisp_Interface()
821
pymacs.py.in https://bitbucket.org/mkhattab/emacs-config.git | Autoconf | 930 lines
156    # But in the usual case, there is only one such instance kept within a
157    # Lisp_Interface instance, and the "lisp" global variable within this
158    # module holds such a Lisp_Interface instance.
436        return [lisp.progn,
437                [lisp.pymacs_defuns, [lisp.quote, arguments]],
438                object]
643    def __repr__(self):
644        return ('lisp(%s)' % repr(lisp('(prin1-to-string %s)' % self)))
645
659    #    # So you could do things like
660    #    # print >>lisp.current_buffer(), "Hello World"
661    #    lisp.insert(text, self)
780
781lisp = Lisp_Interface()
782
pymacs.py https://bitbucket.org/joshayers/emacs_config | Python | 932 lines
157    # But in the usual case, there is only one such instance kept within a
158    # Lisp_Interface instance, and the "lisp" global variable within this
159    # module holds such a Lisp_Interface instance.
437        return [lisp.progn,
438                [lisp.pymacs_defuns, [lisp.quote, arguments]],
439                module]
644    def __repr__(self):
645        return ('lisp(%s)' % repr(lisp('(prin1-to-string %s)' % self)))
646
660    #    # So you could do things like
661    #    # print >>lisp.current_buffer(), "Hello World"
662    #    lisp.insert(text, self)
781
782lisp = Lisp_Interface()
783
pymacs.py https://github.com/B-Rich/python-mode-1.git | Python | 697 lines
134    # But in the usual case, there is only one such instance kept within a
135    # Lisp_Interface instance, and the "lisp" global variable within this
136    # module holds such a Lisp_Interface instance.
293        return [lisp.progn,
294                [lisp.pymacs_defuns, [lisp.quote, arguments]],
295                object]
493    def __repr__(self):
494        return ('lisp(%s)' % repr(lisp('(prin1-to-string %s)' % self)))
495
509    #    # So you could do things like
510    #    # print >>lisp.current_buffer(), "Hello World"
511    #    lisp.insert(text, self)
624
625lisp = Lisp_Interface()
626
hello-world.lisp git://github.com/archimag/restas.git | Lisp | 18 lines
1;;;; hello-world.lisp
2;;;;
2;;;;
3;;;; This file is part of the RESTAS library, released under Lisp-LGPL.
4;;;; See file COPYING for details.
9
10(restas:define-module #:restas.hello-world
11  (:use #:cl))
12
13(in-package #:restas.hello-world)
14
15(restas:define-route main ("")
16  "<h1>Hello world!</h1>")
17
17
18(restas:start '#:restas.hello-world :port 8080)
19
1-macros.lisp https://bitbucket.org/gulp_pisa/repo_gulp.git | Lisp | 181 lines
28    (:tr
29     (:td (esc "Hello, World! <>"))))))
30
38
39;; come si rappresenta il codice Lisp? con una lista
40
55;; proviamo a leggere un file Lisp come lista!
56(defparameter *path* "/home/max/common-lisp/lisp-intro/0-hello-world.lisp")
57(defparameter *in* (open *path*))
70;; eval non e' quasi mai necessario...
71;; ma e' utile per provare a manipolare il codice Lisp
72;; sotto forma di lista
177
178;; soluzioni degli esempi in 2-macros.lisp
179
README https://github.com/guicho271828/cl-mpi.git | Unknown | 13 lines
3
4mpi-hello-world.lisp   -- trivial hello world program
5    make sbcl-test-hello-world (for SBCL users)
5    make sbcl-test-hello-world (for SBCL users)
6    make cmucl-test-hello-world (for CMUCL users)
7
7
8trapezoidal-integration.lisp -- paralel, numerical integration
9Try:
pymacs.py https://bitbucket.org/ckkumar/emacs-config | Python | 932 lines
157    # But in the usual case, there is only one such instance kept within a
158    # Lisp_Interface instance, and the "lisp" global variable within this
159    # module holds such a Lisp_Interface instance.
437        return [lisp.progn,
438                [lisp.pymacs_defuns, [lisp.quote, arguments]],
439                module]
644    def __repr__(self):
645        return ('lisp(%s)' % repr(lisp('(prin1-to-string %s)' % self)))
646
660    #    # So you could do things like
661    #    # print >>lisp.current_buffer(), "Hello World"
662    #    lisp.insert(text, self)
781
782lisp = Lisp_Interface()
783
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21