PageRenderTime 10ms queryFilters 0ms Sphinxql 871ms GetByIds 16ms meta 0ms repositoryFilters 8ms languageFilters 8ms sourceFilters 2ms

3,588,740 results for 're.compile repo:liyonghelpme/myBlog' (10 ms)

Source

Language

Repository

compile-assigner.js https://github.com/huan-nba/Test.git | JavaScript | 200 lines
1
2var compileEvaluator = require("./compile-evaluator");
3var solve = require("./algebra");
4var Scope = require("./scope");
5var valueSyntax = {type: "value"};
6var trueScope = {type: "literal", value: true};
7var falseScope = {type: "literal", value: false};
8
9module.exports = compile;
10function compile(syntax) {
11    return compile.semantics.compile(syntax);
12}
13
14compile.semantics = {
15
compile.clj https://github.com/khajam/leiningen.git | Clojure | 80 lines
1(ns leiningen.test.compile
2  (:refer-clojure :exclude [compile])
3  (:use [clojure.test]
4        [clojure.java.io :only [file]]
5        [clojure.java.shell :only [with-sh-dir]]
6        [leiningen.compile]
7        [leiningen.test.helper :only [sample-project delete-file-recursively
8                                      sample-failing-project
9                                      tricky-name-project]])
10  (:require [leiningen.core.eval :as eval]
11            [leiningen.core.main :as main]))
12
13(use-fixtures :each (fn [f]
14                      (delete-file-recursively
15                       (file "test_projects" "sample" "target") true)
Compile.hs https://github.com/robeverest/accelerate-cuda.git | Haskell | 492 lines
1{-# LANGUAGE CPP                 #-}
2{-# LANGUAGE GADTs               #-}
3{-# LANGUAGE ScopedTypeVariables #-}
4{-# LANGUAGE TupleSections       #-}
5{-# OPTIONS_GHC -fno-warn-orphans #-}
6-- |
7-- Module      : Data.Array.Accelerate.CUDA.Compile
8-- Copyright   : [2008..2010] Manuel M T Chakravarty, Gabriele Keller, Sean Lee
9--               [2009..2012] Manuel M T Chakravarty, Gabriele Keller, Trevor L. McDonell
10-- License     : BSD3
11--
12-- Maintainer  : Trevor L. McDonell <tmcdonell@cse.unsw.edu.au>
13-- Stability   : experimental
14-- Portability : non-portable (GHC extensions)
15--
compile.py https://github.com/gvx/altworld.git | Python | 68 lines
26
27WikiSub = ((re.compile(r'\*(.*?)\*'), r'<strong>\1</strong>'),
28           (re.compile(r'[[][[](.*?)[|](.*?)[]][]]'), r'<a href="\1.html">\2</a>'),
28           (re.compile(r'[[][[](.*?)[|](.*?)[]][]]'), r'<a href="\1.html">\2</a>'),
29           (re.compile(r'[[][[](.*?)[]][]]'), r'<a href="\1.html">\1</a>'),
30           ##(re.compile(r'[[]IMG[[](.*?)[]][]]'), r'<img src="\1">'),
30           ##(re.compile(r'[[]IMG[[](.*?)[]][]]'), r'<img src="\1">'),
31           (re.compile(r"''(.*?)''"), r'<em>\1</em>'),
32           (re.compile(r'^:(.*?)$', re.M), r'<h2>\1</h2>'),
32           (re.compile(r'^:(.*?)$', re.M), r'<h2>\1</h2>'),
33           (re.compile(r'\n{2,}'), r'</p>\n\n<p>'),
34##           (re.compile(r'(\r\n){2,}'), r'</p>\r\n\r\n<p>'),
34##           (re.compile(r'(\r\n){2,}'), r'</p>\r\n\r\n<p>'),
35           (re.compile(r'^'), r'<p>'),
36           (re.compile(r'$'), r'</p>'),
compile.rb https://bitbucket.org/byronsanchez/hackbytes.com.git | Ruby | 190 lines
1#!/usr/bin/env ruby
2#
3# Local compilation script.
4
5# Reads and execute the db schema changescripts in assets/database
6def build_db()
7  puts "------------------------------"
8  puts "Generating the site databases."
9  puts "------------------------------"
10
11  Dir.mkdir(@config['database_output']) unless File.exists?(@config['database_output'])
12
13  @config['database_scripts'].each do |path, db|
14    puts "Building #{db}..."
15    db_dir = "#{@config['database']}/#{path}"
compile.m https://github.com/duythanhphan/ihog.git | MATLAB | 344 lines
1get_architecture;
2
3%%%%%%%%%%%%% COMPILER CONFIGURATION %%%%%%%%%%%%%%%%
4% set up the compiler you want to use. Possible choices are
5%   - 'mex' (default matlab compiler), this is the easy choice if your matlab
6%           is correctly configured. Note that this choice might not compatible
7%           with the option 'use_multithread=true'. 
8%   - 'icc' (intel compiler), usually produces the fastest code, but the
9%           compiler is not free and not installed by default.
10%   - 'gcc' (gnu compiler), good choice (for Mac, use gcc >= 4.6 for
11%           the multi-threaded version, otherwise set use_multithread=false).
12%           For windows, you need to have cygwin installed.
13%   - 'open64' (amd compiler), optimized for opteron cpus.
14%   - 'vs'  (visual studio compiler) for windows computers (10.0 or more is recommended)
15%            for some unknown reason, the performance obtained with vs is poor compared to icc/gcc
Compile.java https://github.com/franks42/clojure.git | Java | 84 lines
18// Compiles libs and generates class files stored within the directory
19// named by the Java System property "clojure.compile.path". Arguments are
20// strings naming the libs to be compiled. The libs and compile-path must
24
25private static final String PATH_PROP = "clojure.compile.path";
26private static final String REFLECTION_WARNING_PROP = "clojure.compile.warn-on-reflection";
26private static final String REFLECTION_WARNING_PROP = "clojure.compile.warn-on-reflection";
27private static final String UNCHECKED_MATH_PROP = "clojure.compile.unchecked-math";
28private static final String ELIDE_META_PROP = "clojure.elide.meta";
compile.app_test.exs https://github.com/vanstee/elixir.git | Unknown | 112 lines
1Code.require_file "../../test_helper.exs", __DIR__
2
3defmodule Mix.Tasks.Compile.AppTest do
4  use MixTest.Case
5
6  defmodule CustomProject do
7    def project do
8      [app: :custom_project, version: "0.2.0"]
9    end
10
11    def application do
12      [maxT: :infinity]
13    end
14  end
15
compile.erlang.ex https://github.com/vanstee/elixir.git | Unknown | 290 lines
1defmodule Mix.Tasks.Compile.Erlang do
2  alias :epp, as: Epp
3  alias :digraph, as: Graph
4  alias :digraph_utils, as: GraphUtils
5
6  use Mix.Task
7
8  @hidden true
9  @shortdoc "Compile Erlang source files"
10  @recursive true
11  @manifest ".compile.erlang"
12
13  @moduledoc """
14  A task to compile Erlang source files.
15
Compile.rsc https://github.com/jimivdw/rascal.git | Unknown | 23 lines
1module demo::lang::turing::l1::ide::Compile
2
3import IO;
4import List;
5import demo::lang::turing::l1::ast::Turing;
6
7public void compile(Program prog, loc target) {
8	writeFile(target, compile(prog) + "\n");
9}
10
11public str compile(Program prog) 
12  = intercalate("\n", [ compile(s) | s <- prog.statements]);
13	
14	
15public str compile(jumpAlways(int l)) = "J_<l>";
compile.xml https://github.com/gimunu/octopus_hhg.git | XML | 186 lines
1<compilation>
2
3<!--  predefined vars: -->
4<!--   $outdir -> output directory for temporary compile files-->
5<!--   $id     -> identifier of this benchmark run-->
6
7<!-- compile GSL: ./configure - -prefix=$HOME/gsl - -disable-shared -->
8<compile cname="Cray-XT5-Shanghai-Louhi">
9  <src directory="./octopus" files="." />
10
11  <command>
12    source /opt/modules/default/init/bash ;
13    module unload PrgEnv-pgi pgi;
14    module load intel PrgEnv-intel;
15    module swap xtpe-barcelona xtpe-shanghai;
compile-swf.xml https://github.com/theflashbum/DeveloperHappyHour.git | XML | 112 lines
1<?xml version="1.0"?>
2<project name="compile-swf" basedir="." default="local-run">
3
4
5    <target name="clean-bin">
6        <!-- Remove all directories created during the build process -->
7        <if>
8            <available type="dir" file="${bin.loc}"/>
9            <then>
10                <delete includeemptydirs="true" failonerror="false">
11                    <fileset dir="${bin.loc}" defaultexcludes="false">
12                        <include name="**/*"/>
13                    </fileset>
14                </delete>
15            </then>
compile.m https://bitbucket.org/jezhill/dsi2000 | MATLAB | 161 lines
1function compile(cc, libpath)
2
3% COMPILE is used for compiling and linking the 'buffer' MEX file.
4%
5% On Linux and MacOS X, you should just be able to call this function without arguments.
6% 
7% On Windows, you can select a compiler using one of the following options:
8%   compile('lcc')   - LCC compiler (shipped with Matlab on 32bit platforms)
9%   compile('bcb')   - Borland C++ Builder 
10%   compile('bcc55') - Borland C++ 5.5 (free command line tools)
11%   compile('mingw') - MinGW (GCC port without cygwin dependency)
12%   compile('vc')    - Visual Studio C++ 2005 or 2008
13%
14% Please note that this script does NOT set up your MEX environment for you, so in case
15% you haven't selected the C compiler on Windows yet, you need to type 'mex -setup' first
compile.js https://github.com/husayt/mathjs.git | JavaScript | 65 lines
1module.exports = function (math, config) {
2  var util = require('../../util/index'),
3      _parse = require('../../expression/parse'),
4
5      collection = require('../../type/collection'),
6
7      isString = util.string.isString,
8      isCollection = collection.isCollection;
9
10  /**
11   * Parse and compile an expression.
12   * Returns a an object with a function `eval([scope])` to evaluate the
13   * compiled expression.
14   *
15   * Syntax:
compile.lisp https://github.com/inracer/sxql.git | Lisp | 45 lines
1(in-package :cl-user)
2(defpackage sxql.compile
3  (:use :cl
4        :trivial-types
5        :sxql.sql-type))
6(in-package :sxql.compile)
7
8(cl-syntax:use-syntax :annot)
9
10(defgeneric find-compile-function (object))
11
12(defmacro define-compile-struct (structure-name &rest defstruct-options)
13  (flet ((symbolcat (&rest symbols)
14           (intern (format nil "~{~A~^-~}" symbols) #.*package*)))
15    (let ((compiled-name (symbolcat structure-name :compiled)))
compile.js https://github.com/huixisheng/mod.git | JavaScript | 530 lines
1var path = require('path');
2var _ = require('lodash');
3var utils = require('../utils');
4var logger = require('../utils/logger');
5var file = require('../utils/file');
6
7exports.summary = 'Compile JavaScript/CSS/HTML source';
8
9exports.usage = '<src> [options]';
10
11exports.options = {
12    "dest" : {
13        alias : 'd'
14        ,default : './dist'
15        ,describe : 'Output file for the compiled code'
Compile.java https://github.com/redarma/clojure.git | Java | 98 lines
21// Compiles libs and generates class files stored within the directory
22// named by the Java System property "clojure.compile.path". Arguments are
23// strings naming the libs to be compiled. The libs and compile-path must
27
28private static final String PATH_PROP = "clojure.compile.path";
29private static final String REFLECTION_WARNING_PROP = "clojure.compile.warn-on-reflection";
29private static final String REFLECTION_WARNING_PROP = "clojure.compile.warn-on-reflection";
30private static final String UNCHECKED_MATH_PROP = "clojure.compile.unchecked-math";
31
61		String v = (String) e.getValue();
62		if(name.startsWith("clojure.compiler."))
63			{
compile.js https://github.com/aliblackwell/roy.git | JavaScript | 829 lines
1var typecheck = require('./typeinference').typecheck,
2    macroexpand = require('./macroexpand').macroexpand,
3    loadModule = require('./modules').loadModule,
4    exportType = require('./modules').exportType,
5    types = require('./types'),
6    nodeToType = require('./typeinference').nodeToType,
7    nodes = require('./nodes').nodes,
8    parser = require('./parser').parser,
9    typeparser = require('./typeparser').parser,
10    lexer = require('./lexer'),
11    _ = require('underscore');
12
13// Assigning the nodes to `parser.yy` allows the grammar to access the nodes from
14// the `yy` namespace.
15parser.yy = typeparser.yy = nodes;
compile.elixir.ex https://github.com/vanstee/elixir.git | Unknown | 300 lines
1defmodule Mix.Tasks.Compile.Elixir do
2  # The ManifestCompiler is a convenience that tracks dependencies
3  # in between files and recompiles them as they change recursively.
4  defmodule ManifestCompiler do
5    use GenServer.Behaviour
6    @moduledoc false
7
8    def files_to_path(manifest, changed, all, compile_path, on_start) do
9      all_entries = read_manifest(manifest)
10
11      removed =
12        lc { _b, _m, source, _d } inlist all_entries, not(source in all), do: source
13
14      changed =
15        if Enum.any?(changed, &not(&1 in all)) do
compile.rst https://github.com/geosolutions-it/crop-information-portal.git | Unknown | 131 lines
1.. module:: cippak.maintenance.compile
2   :synopsis: Learn how to compile the platform.
3
4.. cippak.maintenance.compile:
5
6=======
7Compile
8=======
9
10
11In this section we're going to learn how to compile different parts of the application. The source code is available on Github repository: 
12
13* https://github.com/geosolutions-it/crop-information-portal
14
15Please, follow the instructions in the link before continue.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21